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

Function mergeLanes

packages/react-reconciler/src/ReactFiberLane.js:787–789  ·  view source on GitHub ↗
(a: Lanes | Lane, b: Lanes | Lane)

Source from the content-addressed store, hash-verified

785}
786
787export function mergeLanes(a: Lanes | Lane, b: Lanes | Lane): Lanes {
788 return a | b;
789}
790
791export function removeLanes(set: Lanes, subset: Lanes | Lane): Lanes {
792 return set & ~subset;

Callers 15

updateOffscreenComponentFunction · 0.90
updateClassComponentFunction · 0.90
ReactFiberHooks.jsFile · 0.90
ifFunction · 0.90
scheduleUpdateOnFiberFunction · 0.90
markSkippedUpdateLanesFunction · 0.90
markSpawnedRetryLaneFunction · 0.90
commitRootFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected