Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable debugRenderPhaseSideEffectsForStrictMode in test renderers #31761

Merged
merged 4 commits into from
Dec 17, 2024

Conversation

rickhanlonii
Copy link
Member

This flag controls the strict mode double invoke render/lifecycles/etc behavior in Strict Mode.

The only place this flag is off is the test renderers, which it should be on for.

If we can land this, we can follow up to remove the flag.

Copy link

vercel bot commented Dec 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 3:47am

@react-sizebot
Copy link

react-sizebot commented Dec 13, 2024

Comparing: 8dab592...7ee4380

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 = 510.76 kB 510.76 kB = 91.36 kB 91.36 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 = 515.55 kB 515.55 kB = 92.17 kB 92.17 kB
facebook-www/ReactDOM-prod.classic.js = 592.44 kB 592.44 kB = 104.43 kB 104.43 kB
facebook-www/ReactDOM-prod.modern.js = 582.70 kB 582.70 kB = 102.88 kB 102.88 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable-semver/react-test-renderer/cjs/react-test-renderer.development.js +0.35% 550.04 kB 551.94 kB +0.21% 89.89 kB 90.08 kB
oss-experimental/react-test-renderer/cjs/react-test-renderer.development.js +0.35% 550.07 kB 551.97 kB +0.21% 89.90 kB 90.09 kB
oss-stable/react-test-renderer/cjs/react-test-renderer.development.js +0.35% 550.12 kB 552.02 kB +0.21% 89.92 kB 90.11 kB
facebook-react-native/react-test-renderer/cjs/ReactTestRenderer-dev.js +0.33% 593.68 kB 595.62 kB +0.26% 96.18 kB 96.43 kB
facebook-www/ReactTestRenderer-dev.modern.js +0.32% 574.82 kB 576.68 kB +0.19% 94.06 kB 94.24 kB
facebook-www/ReactTestRenderer-dev.classic.js +0.32% 574.82 kB 576.68 kB +0.20% 94.06 kB 94.24 kB

Generated by 🚫 dangerJS against 6e5da3a

# Conflicts:
#	packages/shared/forks/ReactFeatureFlags.test-renderer.js
#	packages/shared/forks/ReactFeatureFlags.test-renderer.www.js
@rickhanlonii rickhanlonii merged commit 975cea2 into facebook:main Dec 17, 2024
187 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 17, 2024
…1761)

This flag controls the strict mode double invoke render/lifecycles/etc
behavior in Strict Mode.

The only place this flag is off is the test renderers, which it should
be on for.

If we can land this, we can follow up to remove the flag.

DiffTrain build for [975cea2](975cea2)
github-actions bot pushed a commit that referenced this pull request Dec 17, 2024
…1761)

This flag controls the strict mode double invoke render/lifecycles/etc
behavior in Strict Mode.

The only place this flag is off is the test renderers, which it should
be on for.

If we can land this, we can follow up to remove the flag.

DiffTrain build for [975cea2](975cea2)
davesnx added a commit to davesnx/react that referenced this pull request Dec 18, 2024
…act into issue-31578-setter-arity-gcc

* 'issue-31578-setter-arity-gcc' of github.com:/davesnx/react:
  [flags] Clean up scheduler flags (facebook#31814)
  Enable debugRenderPhaseSideEffectsForStrictMode in test renderers (facebook#31761)
  Enable disableDefaultPropsExceptForClasses (facebook#31804)
  Turn on useModernStrictMode in test renderers (facebook#31769)
  [compiler][ez] Add shape for global Object.keys (facebook#31583)
  [compiler] Context variables as dependencies (facebook#31582)
  [compiler] Add fire to known React APIs (facebook#31795)
  [compiler] Add option for firing effect functions (facebook#31794)
  [compiler][be] Logger based debug printing in test runner (facebook#31809)
  [compiler][ez] Clean up duplicate code in propagateScopeDeps (facebook#31581)
  [compiler] Repro for aliased captures within inner function expressions (facebook#31770)
  [compiler][be] Playground now compiles entire program (facebook#31774)
  [Flight] Color and badge non-primary environments (facebook#31738)
  [Flight] Emit Deduped Server Components Marker (facebook#31737)
  [Flight] Sort Server Components Track Group ahead of Client Scheduler/Components Tracks (facebook#31736)
  Clean up context access profiling experiment (facebook#31806)
  [Flight] Stack Parallel Components in Separate Tracks (facebook#31735)
  Flag for requestPaint (facebook#31805)
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.

3 participants