MCPcopy
hub / github.com/react/react / laneToLanes

Function laneToLanes

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

Source from the content-addressed store, hash-verified

799// Seems redundant, but it changes the type from a single lane (used for
800// updates) to a group of lanes (used for flushing work).
801export function laneToLanes(lane: Lane): Lanes {
802 return lane;
803}
804
805export function higherPriorityLane(a: Lane, b: Lane): Lane {
806 // This works because the bit ranges decrease in priority as you go left.

Calls

no outgoing calls

Tested by

no test coverage detected