Skip to content

Conversation

@gnoff
Copy link
Collaborator

@gnoff gnoff commented Jan 15, 2026

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.

@meta-cla meta-cla bot added the CLA Signed label Jan 15, 2026
@gnoff gnoff requested review from acdlite and sebmarkbage and removed request for sebmarkbage January 15, 2026 17:53
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Jan 15, 2026
@react-sizebot
Copy link

react-sizebot commented Jan 15, 2026

Comparing: bb8a76c...5f9a809

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.84 kB 6.84 kB = 1.88 kB 1.88 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 608.03 kB 608.03 kB = 107.61 kB 107.62 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.84 kB 6.84 kB = 1.88 kB 1.88 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 667.26 kB 667.26 kB = 117.51 kB 117.52 kB
facebook-www/ReactDOM-prod.classic.js = 693.38 kB 693.38 kB = 122.00 kB 122.01 kB
facebook-www/ReactDOM-prod.modern.js = 683.76 kB 683.76 kB = 120.40 kB 120.40 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
oss-experimental/react-debug-tools/cjs/react-debug-tools.development.js = 33.37 kB 33.29 kB = 5.93 kB 5.92 kB
oss-stable-semver/react-debug-tools/cjs/react-debug-tools.development.js = 33.37 kB 33.29 kB = 5.93 kB 5.92 kB
oss-stable/react-debug-tools/cjs/react-debug-tools.development.js = 33.37 kB 33.29 kB = 5.93 kB 5.92 kB
oss-experimental/react-debug-tools/cjs/react-debug-tools.production.js = 29.78 kB 29.70 kB = 5.81 kB 5.80 kB
oss-stable-semver/react-debug-tools/cjs/react-debug-tools.production.js = 29.78 kB 29.70 kB = 5.81 kB 5.80 kB
oss-stable/react-debug-tools/cjs/react-debug-tools.production.js = 29.78 kB 29.70 kB = 5.81 kB 5.80 kB

Generated by 🚫 dangerJS against 5f9a809

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.
@gnoff gnoff force-pushed the jstory/fix-hydration-on-immediate-suspend-useid branch from e64b9a0 to 5f9a809 Compare January 16, 2026 01:22
@gnoff gnoff merged commit f0fbb0d into facebook:main Jan 16, 2026
233 of 234 checks passed
@gnoff gnoff deleted the jstory/fix-hydration-on-immediate-suspend-useid branch January 16, 2026 01:28
github-actions bot pushed a commit that referenced this pull request Jan 16, 2026
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.

DiffTrain build for [f0fbb0d](f0fbb0d)
github-actions bot pushed a commit that referenced this pull request Jan 16, 2026
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.

DiffTrain build for [f0fbb0d](f0fbb0d)
@gnoff
Copy link
Collaborator Author

gnoff commented Jan 16, 2026

Fixes #35399 I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants