Function
markRootPinged
(root: FiberRoot, pingedLanes: Lanes)
Source from the content-addressed store, hash-verified
| 880 | } |
| 881 | |
| 882 | export 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 | |
| 889 | export function markRootFinished( |
| 890 | root: FiberRoot, |
Tested by
no test coverage detected