MCPcopy Create free account
hub / github.com/BetaSu/big-react / markRootUpdated

Function markRootUpdated

packages/react-reconciler/src/workLoop.ts:149–151  ·  view source on GitHub ↗
(root: FiberRootNode, lane: Lane)

Source from the content-addressed store, hash-verified

147}
148
149export function markRootUpdated(root: FiberRootNode, lane: Lane) {
150 root.pendingLanes = mergeLanes(root.pendingLanes, lane);
151}
152
153export function markUpdateLaneFromFiberToRoot(fiber: FiberNode, lane: Lane) {
154 let node = fiber;

Callers 2

pingFunction · 0.90
scheduleUpdateOnFiberFunction · 0.85

Calls 1

mergeLanesFunction · 0.90

Tested by

no test coverage detected