Commit eed2560
authored
[Flight] Treat empty message as a close signal (facebook#33756)
We typically treat an empty message as closing the debug channel stream
but for the Noop renderer we don't use an intermediate stream but just
pass the message through.
https://github.com/facebook/react/blob/bbc13fa17be8eebef3e6ee47f48c76c0c44e2f36/packages/react-server-dom-webpack/src/client/ReactFlightDOMClientBrowser.js#L59-L60
For that simple case we should just treat it as a close without an
intermediate stream.1 parent 463b808 commit eed2560
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5808 | 5808 | | |
5809 | 5809 | | |
5810 | 5810 | | |
| 5811 | + | |
| 5812 | + | |
| 5813 | + | |
| 5814 | + | |
5811 | 5815 | | |
5812 | 5816 | | |
5813 | 5817 | | |
| |||
0 commit comments