MCPcopy
hub / github.com/facebook/react / markSpawnedRetryLane

Function markSpawnedRetryLane

packages/react-reconciler/src/ReactFiberWorkLoop.js:3247–3255  ·  view source on GitHub ↗
(lane: Lane)

Source from the content-addressed store, hash-verified

3245}
3246
3247export function markSpawnedRetryLane(lane: Lane): void {
3248 // Keep track of the retry lanes that were spawned by a fallback during the
3249 // current render and were not later pinged. This will represent the lanes
3250 // that are known to still be suspended.
3251 workInProgressSuspendedRetryLanes = mergeLanes(
3252 workInProgressSuspendedRetryLanes,
3253 lane,
3254 );
3255}
3256
3257function panicOnRootError(root: FiberRoot, error: mixed) {
3258 // There's no ancestor that can handle this exception. This should never

Callers 1

scheduleRetryEffectFunction · 0.90

Calls 1

mergeLanesFunction · 0.90

Tested by

no test coverage detected