Skip to content

React@18 support #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bloodyowl opened this issue Dec 9, 2021 · 2 comments · Fixed by #46
Closed

React@18 support #34

bloodyowl opened this issue Dec 9, 2021 · 2 comments · Fixed by #46

Comments

@bloodyowl
Copy link
Contributor

Context

React 18 is in RC and will soon be released:

reactwg/react-18#112

Updates

  • Deprecate ReactDOM.render
  • ReactDOM.Experimental.createRootReactDOM.createRoot
  • ReactDOM.Experimental.createBlockingRoot
  • ReactDOM.Experimental.rootReactDOM.Root.t
  • ReactDOM.Experimental.renderReactDOM.Root.render
  • ReactDOM.Root.unmount
  • React.useDeferredValue
  • React.useInsertionEffect{,0,1,2,3,4,5,6,7}
  • React.useSyncExternalStore
  • React.useId
@tom-sherman
Copy link
Contributor

tom-sherman commented Dec 19, 2021

I believe this list is missing useTransition /startTransition?

@tom-sherman tom-sherman mentioned this issue Dec 19, 2021
3 tasks
@cometkim
Copy link
Member

I have binding to useMutableSource (former version of useSyncExternalStore)

https://github.com/reason-seoul/snowpack-rescript-react/blob/07a59a6/src/bindings/ReactExperimental.res#L4-L26

guess it might help

@whitchapman whitchapman mentioned this issue May 18, 2022
@cknitt cknitt closed this as completed in #46 Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants