React 18 support
dchenk opened this issue · 3 comments
dchenk commented
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 commented
Any update on this? React 18 has been out for 8 months now.
frandiox commented
PRs welcome 👍 . Stuff that need to be updated (afaik):
- Use
createRoot
andhydrateRoot
instead ofcreate
/hydrate
inentry-client
. - Remove
react-ssr-prepass
if possible and rely on new suspense capabilities. Is this compatible withrenderToString
? - Add an optional mode to use
renderToReadableStream
instead ofrenderToString
.
briangleeson commented
@NoremacNergfol any update on this effort?