KEMBAR78
Fix ownerStackLimit feature gating for tests by rickhanlonii · Pull Request #32726 · facebook/react · GitHub
Skip to content

Conversation

rickhanlonii
Copy link
Member

#32529 added a dynamic flag for this, but that breaks tests since the flags are not defined everywhere.

However, this is a static value and the flag is only for supporting existing tests. So we can override it in the test config, and make it static at built time instead.

@react-sizebot
Copy link

Comparing: 254dc4d...825034a

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.68 kB 6.68 kB = 1.83 kB 1.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 515.14 kB 515.14 kB = 91.74 kB 91.73 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 614.35 kB 614.35 kB = 108.76 kB 108.75 kB
facebook-www/ReactDOM-prod.classic.js = 650.34 kB 650.34 kB = 114.79 kB 114.79 kB
facebook-www/ReactDOM-prod.modern.js = 640.62 kB 640.62 kB = 113.23 kB 113.22 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
facebook-www/React-dev.classic.js = 55.56 kB 55.45 kB = 12.11 kB 12.10 kB
facebook-www/React-dev.modern.js = 55.56 kB 55.45 kB = 12.11 kB 12.10 kB
facebook-react-native/react/cjs/JSXDEVRuntime-dev.js = 12.13 kB 12.07 kB = 3.33 kB 3.33 kB
facebook-www/JSXDEVRuntime-dev.classic.js = 13.44 kB 13.37 kB = 3.61 kB 3.60 kB
facebook-www/JSXDEVRuntime-dev.modern.js = 13.44 kB 13.37 kB = 3.61 kB 3.60 kB
facebook-react-native/react/cjs/JSXRuntime-dev.js = 12.54 kB 12.47 kB = 3.35 kB 3.35 kB

Generated by 🚫 dangerJS against 825034a

@jackpope jackpope merged commit f99c9fe into facebook:main Mar 26, 2025
241 of 243 checks passed
github-actions bot pushed a commit that referenced this pull request Mar 26, 2025
#32529 added a dynamic flag for
this, but that breaks tests since the flags are not defined everywhere.

However, this is a static value and the flag is only for supporting
existing tests. So we can override it in the test config, and make it
static at built time instead.

DiffTrain build for [f99c9fe](f99c9fe)
github-actions bot pushed a commit that referenced this pull request Mar 26, 2025
#32529 added a dynamic flag for
this, but that breaks tests since the flags are not defined everywhere.

However, this is a static value and the flag is only for supporting
existing tests. So we can override it in the test config, and make it
static at built time instead.

DiffTrain build for [f99c9fe](f99c9fe)
eps1lon pushed a commit to vercel/next.js that referenced this pull request Mar 26, 2025
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.

5 participants