dillon1000/react
Commit
Browse files [Fiber] fix useId tracking on replay (#35518)
When Fiber replays work after suspending and resolving in a microtask it stripped the Forked flag from Fibers because this flag type was not considered a Static flag. The Forked nature of a Fiber is not render dependent and should persist after unwinding work. By making this change the replay correctly generates the necessary tree context.
Changed paths2 files
First-parent comparisonpackages/react-dom/src/__tests__/ReactDOMFizzServer-test.js ModifiedM packages/react-reconciler/src/ReactFiberFlags.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…