SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

244272 0 0 JavaScript

[Fizz] Always load the external runtime if one is provided (#33091)

Because we now decided whether to outline in the flushing phase, when
we're writing the preamble we don't yet know if we will make that
decision so we don't know if it's safe to omit the external runtime.

However, if you are providing an external runtime it's probably a pretty
safe bet you're streaming something dynamically that's likely to need it
so we can always include it.

The main thing is that this makes it hard to test it because it affects
our tests in ways it wouldn't otherwise so we have to add a bunch of
conditions.
S
Sebastian Markbåge committed
f739642745577a8e4dcb9753836ac3589b9c590a
Parent: 0ed6ceb
Committed by GitHub <[email protected]> on 5/1/2025, 10:14:42 PM