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

Independent re-renders from UNSAFE_componentWillReceiveProps cause maximum update depth error #30175

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kassens
Copy link
Member

@kassens kassens commented Jul 1, 2024

In this added test case, each render causes a second pass render follow up, but it always settles.

Repeating this sufficiently often triggers the "Maximum update depth exceeded." error because the nestedUpdateCount in ReactFiberWorkLoop.js doesn't reset.

…ximum update depth error

In this added test case, each render causes a second pass render follow up, but it always settles.

Repeating this sufficiently often triggers the "Maximum update depth exceeded." error because the `nestedUpdateCount` in `ReactFiberWorkLoop.js` doesn't reset.
Copy link

vercel bot commented Jul 1, 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 Jul 1, 2024 7:45pm
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 React 19 Type: Bug
2 participants