Skip to content

[enableInfiniteRenderLoopDetection] Add a flag to force throwing#36357

Open
hoxyq wants to merge 1 commit intomainfrom
infinite-render-loop/flag-to-force
Open

[enableInfiniteRenderLoopDetection] Add a flag to force throwing#36357
hoxyq wants to merge 1 commit intomainfrom
infinite-render-loop/flag-to-force

Conversation

@hoxyq
Copy link
Copy Markdown
Contributor

@hoxyq hoxyq commented Apr 27, 2026

Adds a enableInfiniteRenderLoopDetectionForceThrow flag, which changes the detection mechanism behaviour to start throwing, when the loop is observed. By default, the value is set to false, also made dynamic from the start for www.

@meta-cla meta-cla Bot added the CLA Signed label Apr 27, 2026
@react-sizebot
Copy link
Copy Markdown

Comparing: 561ed52...e0d7acf

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% 612.85 kB 612.96 kB +0.02% 108.29 kB 108.32 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% 678.78 kB 678.89 kB +0.02% 119.26 kB 119.28 kB
facebook-www/ReactDOM-prod.classic.js +0.11% 698.52 kB 699.31 kB +0.10% 122.73 kB 122.84 kB
facebook-www/ReactDOM-prod.modern.js +0.12% 688.83 kB 689.63 kB +0.10% 121.11 kB 121.23 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against e0d7acf

@hoxyq hoxyq requested review from jackpope and rickhanlonii April 27, 2026 16:17
@hoxyq hoxyq marked this pull request as ready for review April 27, 2026 16:18
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.

2 participants