519// filled in with the resolved UI. This lets us throttle the appearance of new
520// content as it streams in, to minimize jank.
521▶// TODO: Think of a better name for this variable?
522let globalMostRecentFallbackTime: number = 0;
523// Track the most recent time we started a new Transition. This lets us apply
· · ·
912 const suspenseHandler = getSuspenseHandler();
913 if (suspenseHandler !== null) {
914▶ // TODO: As an optimization, we shouldn't entangle the lanes at the root; we
915 // can entangle them using the baseLanes of the Suspense boundary instead.
916 // We only need to do something special if there's no Suspense boundary.
· · ·
1079 // suspended now, right before marking the incoming update. This has the
1080 // effect of interrupting the current render and switching to the update.
1081▶ // TODO: Make sure this doesn't override pings that happen while we've
1082 // already started rendering.
1083 const didAttemptEntireTree = false;
· · ·
1173 // even if the lanes are synchronous, so that prerendering never blocks
1174 // the main thread.
1175▶ // TODO: We should consider doing this whenever a sync lane is suspended,
1176 // even for regular pings.
1177 checkIfRootIsPrerendering(root, lanes);
· · ·
1195 // render phase, but we do it here so that we resume in
1196 // prerendering mode.
1197▶ // TODO: Consider always calling markRootSuspended immediately.
1198 // Needs to be *after* we attach a ping listener, though.
1199 const didAttemptEntireTree = false;
+ 41 more matches in this file