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

Function requestRetryLane

packages/react-reconciler/src/ReactFiberWorkLoop.js:838–850  ·  view source on GitHub ↗
(fiber: Fiber)

Source from the content-addressed store, hash-verified

836}
837
838function requestRetryLane(fiber: Fiber) {
839 // This is a fork of `requestUpdateLane` designed specifically for Suspense
840 // "retries" — a special update that attempts to flip a Suspense boundary
841 // from its placeholder state to its primary/resolved state.
842
843 // Special cases
844 const mode = fiber.mode;
845 if (!disableLegacyMode && (mode & ConcurrentMode) === NoMode) {
846 return (SyncLane: Lane);
847 }
848
849 return claimNextRetryLane();
850}
851
852export function requestDeferredLane(): Lane {
853 if (workInProgressDeferredLane === NoLane) {

Callers 1

retryTimedOutBoundaryFunction · 0.85

Calls 1

claimNextRetryLaneFunction · 0.90

Tested by

no test coverage detected