MCPcopy Index your code
hub / github.com/caseywebdev/react-list / addFiberToLanesMap

Function addFiberToLanesMap

docs/index.js:19880–19888  ·  view source on GitHub ↗
(root, fiber, lanes)

Source from the content-addressed store, hash-verified

19878 }
19879 }
19880 function addFiberToLanesMap(root, fiber, lanes) {
19881 if (isDevToolsPresent)
19882 for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) {
19883 var index = 31 - clz32(lanes),
19884 lane = 1 << index;
19885 root[index].add(fiber);
19886 lanes &= ~lane;
19887 }
19888 }
19889 function movePendingFibersToMemoized(root, lanes) {
19890 if (isDevToolsPresent)
19891 for (

Callers 2

scheduleUpdateOnFiberFunction · 0.85
restorePendingUpdatersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…