SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

[Flight] Make debug info and console log resolve in predictable order (#33665)

This resolves an outstanding issue where it was possible for debug info
and console logs to become out of order if they up blocked. E.g. by a
future reference or a client reference that hasn't loaded yet. Such as
if you console.log a client reference followed by one that doesn't. This
encodes the order similar to how the stream chunks work.

This also blocks the main chunk from resolving until the last debug info
has fully loaded, including future references and client references.
This also ensures that we could send some of that data in a different
stream, since then it can come out of order.
S
Sebastian Markbåge committed
28d4bc496b9c0dd2178caf894054ffce600311d3
Parent: dffacc7
Committed by GitHub <noreply@github.com> on 7/20/2025, 12:13:26 AM