Skip to content

Conversation

@jackpope
Copy link
Contributor

A follow up of #35520 extended to handle additional component types:

  • ViewTransition
  • Profiler
  • TracingMarkerComponent
  • HostPortal
  • DehydratedFragment

@meta-cla meta-cla bot added the CLA Signed label Jan 27, 2026
@react-sizebot
Copy link

Comparing: 8c34556...3c91337

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 +0.02% 608.67 kB 608.82 kB +0.02% 107.63 kB 107.66 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 +0.02% 674.60 kB 674.75 kB +0.02% 118.58 kB 118.59 kB
facebook-www/ReactDOM-prod.classic.js +0.06% 693.92 kB 694.31 kB +0.04% 121.98 kB 122.02 kB
facebook-www/ReactDOM-prod.modern.js +0.06% 684.31 kB 684.70 kB +0.04% 120.37 kB 120.42 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 3c91337


workInProgress.dependencies = null;

workInProgress.stateNode = null;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was my first intuition for fixing a similar issue for Activity but we specifically moved to creating the stateNode in the begin phase: https://github.com/facebook/react/pull/34127/changes

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants