-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
Add Promise as a child test to Flight fixture #28778
Conversation
Comparing: f86afca...4b32fda Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
f877090
to
74b1848
Compare
…and unwrap (facebook#28284)"" This reverts commit 74b1848.
Wait how does that PR fix it? That was intended more as a performance optimization. |
I didn't dig further yet. But reverting the PR does produce the hydration error. Maybe it was https://github.com/facebook/react/pull/28284/files#r1483763696 specifically that fixed it? |
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.
There seems to be something off about that logic if that's necessary. Maybe there's other cases it's broken too.
Adds a test for promise as a child that was fixed by #28284. Since the fix only included tests for
React.Children
I also added another regression test based on the original bug report in #27247.Test plan
I can't repro this in our unit test suite so I use the Flight fixture which fails on any console error.