MCPcopy Create free account
hub / github.com/microsoft/SandDance / markRetryTimeImpl

Function markRetryTimeImpl

docs/external/js/react-dom.development.js:24527–24535  ·  view source on GitHub ↗
(fiber, retryTime)

Source from the content-addressed store, hash-verified

24525 }
24526
24527 function markRetryTimeImpl(fiber, retryTime) {
24528 var suspenseState = fiber.memoizedState;
24529
24530 if (suspenseState !== null && suspenseState.dehydrated !== null) {
24531 if (suspenseState.retryTime < retryTime) {
24532 suspenseState.retryTime = retryTime;
24533 }
24534 }
24535 } // Increases the priority of thennables when they resolve within this boundary.
24536
24537
24538 function markRetryTimeIfNotHydrated(fiber, retryTime) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected