dillon1000/react
Commit
Browse files [Flight Reply] Encode ReadableStream and AsyncIterables (#28893)
Same as #28847 but in the other direction. Like other promises, this doesn't actually stream in the outgoing direction. It buffers until the stream is done. This is mainly due to our protocol remains compatible with Safari's lack of outgoing streams until recently. However, the stream chunks are encoded as separate fields and so does support the busboy streaming on the receiving side.
Changed paths4 files
First-parent comparisonpackages/react-client/src/ReactFlightReplyClient.js ModifiedM packages/react-server-dom-webpack/src/__tests__/ReactFlightDOMReply-test.js ModifiedM packages/react-server-dom-webpack/src/__tests__/ReactFlightDOMReplyEdge-test.js ModifiedM packages/react-server/src/ReactFlightReplyServer.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…