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

Function isGestureRender

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

Source from the content-addressed store, hash-verified

711}
712
713export function isGestureRender(lanes: Lanes): boolean {
714 if (!enableGestureTransition) {
715 return false;
716 }
717 // This should render only the one lane.
718 return lanes === GestureLane;
719}
720
721export function claimNextTransitionUpdateLane(): Lane {
722 // Cycle through the lanes, assigning each new transition to the next lane.

Callers 11

ReactFiberHooks.jsFile · 0.90
commitRootWhenReadyFunction · 0.90
finalizeRenderFunction · 0.90
prepareFreshStackFunction · 0.90
commitRootFunction · 0.90
finishedViewTransitionFunction · 0.90
startUpdateTimerByLaneFunction · 0.90
startPingTimerByLanesFunction · 0.90
trackSuspendedTimeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected