vite-ssr
vite-ssr copied to clipboard
React 18 support
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.
Any update on this? React 18 has been out for 8 months now.
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
.