react/packages/react-server-dom-relay/src
Sebastian Markbåge 7843b142ac
[Fizz/Flight] Pass in Destination lazily to startFlowing instead of in createRequest (#22449)
* Pass in Destination lazily in startFlowing instead of createRequest

* Delay fatal errors until we have a destination to forward them to

* Flow can now be inferred by whether there's a destination set

We can drop the destination when we're not flowing since there's nothing to
write to.

Fatal errors now close once flowing starts back up again.

* Defer fatal errors in Flight too
2021-09-28 15:32:09 -07:00
..
__mocks__ [Flight] Rename react-transport-... packages to react-server-... (#20403) 2020-12-08 08:08:57 -05:00
__tests__ Remove internal `act` builds from public modules (#21721) 2021-06-22 14:29:35 -07:00
ReactDOMServerFB.js [Fizz/Flight] Pass in Destination lazily to startFlowing instead of in createRequest (#22449) 2021-09-28 15:32:09 -07:00
ReactFlightDOMRelayClient.js [Flight] Rename react-transport-... packages to react-server-... (#20403) 2020-12-08 08:08:57 -05:00
ReactFlightDOMRelayClientHostConfig.js Reland Remove redundant initial of isArray (#21188) 2021-04-07 07:57:43 -07:00
ReactFlightDOMRelayProtocol.js [Flight] Rename react-transport-... packages to react-server-... (#20403) 2020-12-08 08:08:57 -05:00
ReactFlightDOMRelayServer.js [Fizz/Flight] Pass in Destination lazily to startFlowing instead of in createRequest (#22449) 2021-09-28 15:32:09 -07:00
ReactFlightDOMRelayServerHostConfig.js Reland Remove redundant initial of isArray (#21188) 2021-04-07 07:57:43 -07:00
ReactServerStreamConfigFB.js [Fizz] Implement Legacy renderToString and renderToNodeStream on top of Fizz (#21276) 2021-06-14 12:54:30 -07:00