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.
React 18 came out a year ago with built-in support for streaming via
renderToPipeableStream
(Node.js) andrenderToReadableStream
(Web Streams). UsingrenderToString
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.