preact-render-to-string icon indicating copy to clipboard operation
preact-render-to-string copied to clipboard

Implement `renderToReadableStream` api to allow preact to stream HTML responses from on the server.

Open nicksrandall opened this issue 2 years ago • 1 comments

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 avatar Jan 28 '22 21:01 nicksrandall

@nicksrandall I think the title has a typo: readerToReadableStream should be renderToReadableStream. Will you update it to improve discoverability?

jsejcksn avatar Oct 14 '22 20:10 jsejcksn