517// filled in with the resolved UI. This lets us throttle the appearance of new
518// content as it streams in, to minimize jank.
519▶// TODO: Think of a better name for this variable?
520let globalMostRecentFallbackTime: number = 0;
521// Track the most recent time we started a new Transition. This lets us apply
· · ·
898 const suspenseHandler = getSuspenseHandler();
899 if (suspenseHandler !== null) {
900▶ // TODO: As an optimization, we shouldn't entangle the lanes at the root; we
901 // can entangle them using the baseLanes of the Suspense boundary instead.
902 // We only need to do something special if there's no Suspense boundary.
· · ·
1065 // suspended now, right before marking the incoming update. This has the
1066 // effect of interrupting the current render and switching to the update.
1067▶ // TODO: Make sure this doesn't override pings that happen while we've
1068 // already started rendering.
1069 const didAttemptEntireTree = false;
· · ·
1159 // even if the lanes are synchronous, so that prerendering never blocks
1160 // the main thread.
1161▶ // TODO: We should consider doing this whenever a sync lane is suspended,
1162 // even for regular pings.
1163 checkIfRootIsPrerendering(root, lanes);
· · ·
1181 // render phase, but we do it here so that we resume in
1182 // prerendering mode.
1183▶ // TODO: Consider always calling markRootSuspended immediately.
1184 // Needs to be *after* we attach a ping listener, though.
1185 const didAttemptEntireTree = false;
+ 41 more matches in this file