Skip to content
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

React 18 support #166

Open
dchenk opened this issue Jun 13, 2022 · 3 comments · May be fixed by #213
Open

React 18 support #166

dchenk opened this issue Jun 13, 2022 · 3 comments · May be fixed by #213

Comments

@dchenk
Copy link
Contributor

dchenk commented Jun 13, 2022

Are there plans to implement support for React version 18, released in March 2022? It'd be great to be able to use the latest version of React with vite-ssr.

@jamespearson
Copy link

Any update on this? React 18 has been out for 8 months now.

@frandiox
Copy link
Owner

PRs welcome 👍 . Stuff that need to be updated (afaik):

  • Use createRoot and hydrateRoot instead of create/hydrate in entry-client.
  • Remove react-ssr-prepass if possible and rely on new suspense capabilities. Is this compatible with renderToString?
  • Add an optional mode to use renderToReadableStream instead of renderToString.

@NoremacNergfol NoremacNergfol linked a pull request Jul 14, 2023 that will close this issue
@briangleeson
Copy link
Contributor

@NoremacNergfol any update on this effort?

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.

4 participants