Skip to content

Conversation

fkapsahili
Copy link

@fkapsahili fkapsahili commented Jan 9, 2024

This is a proposal to add support for React 18. For React 18, ReactDOM.render and ReactDOM.hydrate are deprecated, so the new ReactDOM.createRoot and ReactDOM.hydrateRoot methods must be used:

https://react.dev/reference/react-dom/client/createRoot#createroot
https://react.dev/reference/react-dom/client/hydrateRoot#hydrateroot

Since the SSR examples are quite old and Hypernova has also been deprecated, I have not yet been able to extensively test the case where hydrateRoot is used. Unfortunately, I can no longer get the old SSR examples to work because the node version is too old 🙂. Can you check if it works or let me know how I can test it?

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 this pull request may close these issues.

1 participant