preact-render-to-string
preact-render-to-string copied to clipboard
Implement `renderToReadableStream` api to allow preact to stream HTML responses from on the server.
I'll totally understand if this is not a priority right now but I thought it couldn't hurt to have an issue to track the request.
Here is a reference to React's implementation of renderToReadableStream
: https://github.com/facebook/react/blob/cdb8a1d19d0c0d43a72c3f0fe739b04da247c360/packages/react-dom/src/server/ReactDOMFizzServerBrowser.js#L40
@nicksrandall I think the title has a typo: readerToReadableStream
should be renderToReadableStream
. Will you update it to improve discoverability?