vite-ssr icon indicating copy to clipboard operation
vite-ssr copied to clipboard

Add support for streaming

Open gaearon opened this issue 2 years ago • 0 comments

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.

gaearon avatar Mar 14 '23 21:03 gaearon