You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current behavior?
Currently ReactDom.renderToString() must synchronously render a complete component.
This means that react servers which connect to other data sources must wait for those to respond before beginning to send an HTTP response.
What is the desired behavior?
Support server-side use of encoding: chunked by
Exposing a streaming render API e.g. ReactDom.renderToStream().
Providing a way for react components to 'block' rendering server-side
What would this improve?
This would enable much lower latency in cases where a server is connecting to multiple backing services to service a request, because content early in the document can be delivered to the browser before all backends have responded.
The text was updated successfully, but these errors were encountered:
Feature request
What is the current behavior?
Currently
ReactDom.renderToString()
must synchronously render a complete component.This means that react servers which connect to other data sources must wait for those to respond before beginning to send an HTTP response.
What is the desired behavior?
Support server-side use of
encoding: chunked
byReactDom.renderToStream()
.What would this improve?
This would enable much lower latency in cases where a server is connecting to multiple backing services to service a request, because content early in the document can be delivered to the browser before all backends have responded.
The text was updated successfully, but these errors were encountered: