-
Notifications
You must be signed in to change notification settings - Fork 47.7k
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
Clean up enableSiblingPrerendering flag #32319
base: main
Are you sure you want to change the base?
Clean up enableSiblingPrerendering flag #32319
Conversation
Comparing: 44c3d3d...0bc39f8 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
|
429a8ec
to
e83bf3f
Compare
bda4cb1
to
2fbfc41
Compare
2fbfc41
to
e0e1662
Compare
|
||
...(gate('enableSiblingPrerendering') ? ['Suspend! [Hi]'] : []), | ||
]); | ||
await waitForAll(['Suspend! [Hi]', 'Loading...', 'Suspend! [Hi]']); |
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.
It might be worth adding comments to all these cases like:
await waitForAll([
'Suspend! [Hi]',
'Loading...',
// pre-warming
'Suspend! [Hi]']
);
@@ -2011,7 +2006,7 @@ function handleThrow(root: FiberRoot, thrownValue: any): void { | |||
// TODO: Suspending the work loop during the render phase is | |||
// currently not compatible with sibling prerendering. We will add | |||
// this optimization back in a later step. | |||
!enableSiblingPrerendering && | |||
false && |
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.
?
No description provided.