-
Notifications
You must be signed in to change notification settings - Fork 47.4k
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
[Test] Outer boundary should not report errors from an inner boundary #24618
Conversation
"this pr is just a test + deleting a bunch of other tests"... 😁 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat!
…re not retained by an unsuspended outer boundary
c26eef1
to
b1fbb14
Compare
Comparing: b2763d3...cf2accf Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: (No significant changes) |
@jplhomer thanks for reporting that issue! It was surprisingly generic (affected flight and fizz) and would have been easy for folks to hit in many different setups |
@jplhomer reported an issue with hydration error messages in #24578
The root issue is if you have a pair of nested Suspense boundaries, if the inner one has hydration errors caused by something suspended but the outer one is not suspended, it will report the inner boundaries errors as recoverable.
The changes in #24532 move the recoverable error logic so that it only fires for the hydrating boundary which resolves this bug and causes the test to pass.