MCPcopy Create free account
hub / github.com/react/react / markRootPinged

Function markRootPinged

packages/react-reconciler/src/ReactFiberLane.js:882–887  ·  view source on GitHub ↗
(root: FiberRoot, pingedLanes: Lanes)

Source from the content-addressed store, hash-verified

880}
881
882export function markRootPinged(root: FiberRoot, pingedLanes: Lanes) {
883 root.pingedLanes |= root.suspendedLanes & pingedLanes;
884 // The data that just resolved could have unblocked additional children, which
885 // will also need to be prewarmed if something suspends again.
886 root.warmLanes &= ~pingedLanes;
887}
888
889export function markRootFinished(
890 root: FiberRoot,

Callers 1

pingSuspendedRootFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected