Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Add React 18 support#68

Open
fkapsahili wants to merge 2 commits intoFrojd:developfrom
fkapsahili:develop
Open

Add React 18 support#68
fkapsahili wants to merge 2 commits intoFrojd:developfrom
fkapsahili:develop

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant