vite-ssr
vite-ssr copied to clipboard
Add support for streaming
React 18 came out a year ago with built-in support for streaming via renderToPipeableStream (Node.js) and renderToReadableStream (Web Streams). Using renderToString does not work with Suspense and is not recommended anymore. It would be great if users of Vite SSR could take advantage of the React streaming APIs.