MCPcopy Index your code
hub / github.com/react/react / laneToIndex

Function laneToIndex

packages/react-reconciler/src/ReactFiberLane.js:775–777  ·  view source on GitHub ↗
(lane: Lane)

Source from the content-addressed store, hash-verified

773}
774
775function laneToIndex(lane: Lane) {
776 return pickArbitraryLaneIndex(lane);
777}
778
779export function includesSomeLane(a: Lanes | Lane, b: Lanes | Lane): boolean {
780 return (a & b) !== NoLanes;

Callers 7

markSpawnedDeferredLaneFunction · 0.85
markHiddenUpdateFunction · 0.85
addFiberToLanesMapFunction · 0.85
addTransitionToLanesMapFunction · 0.85
getTransitionsForLanesFunction · 0.85
clearTransitionsForLanesFunction · 0.85

Calls 1

pickArbitraryLaneIndexFunction · 0.85

Tested by

no test coverage detected