Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
nicksrandall opened this issue Jan 28, 2022 · 2 comments

Comments

@nicksrandall
Copy link

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

@jsejcksn

This comment was marked as resolved.

@nicksrandall nicksrandall changed the title Implement readerToReadableStream api to allow preact to stream HTML responses from on the server. Implement renderToReadableStream api to allow preact to stream HTML responses from on the server. Oct 14, 2022
@JoviDeCroock
Copy link
Member

We have added renderToPipeableStream and renderToReadableStream in 6.5.0, this will be available under the new exports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants