dillon1000/react

Commit

[Fizz] Track whether we're in a fallback on FormatContext (#33194)

Removes the `isFallback` flag on Tasks and tracks it on the
formatContext instead.

Less memory and avoids passing and tracking extra arguments to all the
pushStartInstance branches that doesn't need it.

We'll need to be able to track more Suspense related contexts on this
for View Transitions anyway.
Browse files
Changed paths6 files
First-parent comparison
M packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js ModifiedM packages/react-dom-bindings/src/server/ReactFizzConfigDOMLegacy.js ModifiedM packages/react-markup/src/ReactFizzConfigMarkup.js ModifiedM packages/react-noop-renderer/src/ReactNoopServer.js ModifiedM packages/react-server/src/ReactFizzServer.js ModifiedM packages/react-server/src/forks/ReactFizzConfig.custom.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…