Title: Add Activity and ViewTransition components for React 19.2+ by i-am-the-slime · Pull Request #81 · purescript-react/purescript-react-basic-hooks · GitHub
Open Graph Title: Add Activity and ViewTransition components for React 19.2+ by i-am-the-slime · Pull Request #81 · purescript-react/purescript-react-basic-hooks
X Title: Add Activity and ViewTransition components for React 19.2+ by i-am-the-slime · Pull Request #81 · purescript-react/purescript-react-basic-hooks
Description: Adds two new React 19.2+ experimental components with full PureScript bindings and comprehensive test coverage. New Modules React.Basic.Hooks.Activity Hide/show UI while preserving component state and DOM ActivityMode type (Visible/Hidden) Useful for tabs, sidebars, and pre-rendering content React.Basic.Hooks.ViewTransition Animated transitions using the View Transition API Support for enter, exit, update, and shared element transitions AnimationValue type for CSS classes or transition maps Full callback support (onEnter, onExit, onUpdate, onShare) Features Complete FFI bindings to React.Activity and React.ViewTransition Type-safe APIs with proper PureScript types Comprehensive test suites (pending until React 19.2+ is available) Full documentation with examples in README Changes Added React.Basic.Hooks.Activity module with FFI bindings Added React.Basic.Hooks.ViewTransition module with FFI bindings Added test specs for both components (marked as pending) Updated README with usage examples and documentation Added foreign-object and web-dom to dependencies Testing All existing tests pass ✅ (18/18) New tests are marked as pending (10 tests) since they require React 19.2+ experimental/canary Current project uses React 19.0.0 stable Note These components are only available in React 19.2+ experimental/canary releases, not in stable React 19.0.x. The modules are ready to use once experimental React is adopted.
Open Graph Description: Adds two new React 19.2+ experimental components with full PureScript bindings and comprehensive test coverage. New Modules React.Basic.Hooks.Activity Hide/show UI while preserving component state...
X Description: Adds two new React 19.2+ experimental components with full PureScript bindings and comprehensive test coverage. New Modules React.Basic.Hooks.Activity Hide/show UI while preserving component state...
Opengraph URL: https://github.com/purescript-react/purescript-react-basic-hooks/pull/81
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3d2d1766-595e-adca-ccc2-bd048b7acdd0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AB36:BCEB:11C4482:1702D0E:69925389 |
| html-safe-nonce | d927683ab08aa6746e9ac89b9db4d12aee2972503308d52f7cd62c83089c2fb5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjM2OkJDRUI6MTFDNDQ4MjoxNzAyRDBFOjY5OTI1Mzg5IiwidmlzaXRvcl9pZCI6IjI0MjIzNzc3MjE3MzMwMDYxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 94fc392ce6970d483a3c0557ae84a8d7b03450c684d374b508bc7898777fd845 |
| hovercard-subject-tag | pull_request:3236612806 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/purescript-react/purescript-react-basic-hooks/pull/81/files |
| twitter:image | https://avatars.githubusercontent.com/u/1588055?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1588055?s=400&v=4 |
| og:image:alt | Adds two new React 19.2+ experimental components with full PureScript bindings and comprehensive test coverage. New Modules React.Basic.Hooks.Activity Hide/show UI while preserving component state... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/purescript-react/purescript-react-basic-hooks git https://github.com/purescript-react/purescript-react-basic-hooks.git |
| octolytics-dimension-user_id | 132099504 |
| octolytics-dimension-user_login | purescript-react |
| octolytics-dimension-repository_id | 165808163 |
| octolytics-dimension-repository_nwo | purescript-react/purescript-react-basic-hooks |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 165808163 |
| octolytics-dimension-repository_network_root_nwo | purescript-react/purescript-react-basic-hooks |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width