MCPcopy
hub / github.com/facebook/react / pickArbitraryLaneIndex

Function pickArbitraryLaneIndex

packages/react-reconciler/src/ReactFiberLane.js:771–773  ·  view source on GitHub ↗
(lanes: Lanes)

Source from the content-addressed store, hash-verified

769}
770
771function pickArbitraryLaneIndex(lanes: Lanes) {
772 return 31 - clz32(lanes);
773}
774
775function laneToIndex(lane: Lane) {
776 return pickArbitraryLaneIndex(lane);

Callers 7

getEntangledLanesFunction · 0.85
laneToIndexFunction · 0.85
markRootSuspendedFunction · 0.85
markRootFinishedFunction · 0.85
markRootEntangledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected