clearGestureUpdates() — react Function Reference
Architecture documentation for the clearGestureUpdates() function in ReactProfilerTimer.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 3f3593ee_03e8_d8e6_484e_d61dae90407d["clearGestureUpdates()"] e054b9c7_41f1_c7f7_97bb_98b6a445e94b["ReactProfilerTimer.js"] 3f3593ee_03e8_d8e6_484e_d61dae90407d -->|defined in| e054b9c7_41f1_c7f7_97bb_98b6a445e94b style 3f3593ee_03e8_d8e6_484e_d61dae90407d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactProfilerTimer.js lines 352–360
export function clearGestureUpdates(): void {
// Same as clearGestureTimers but doesn't reset the clamp time because we didn't
// actually emit a render.
gestureUpdateTime = -1.1;
gestureUpdateType = 0;
gestureSuspendedTime = -1.1;
gestureEventRepeatTime = gestureEventTime;
gestureEventTime = -1.1;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does clearGestureUpdates() do?
clearGestureUpdates() is a function in the react codebase, defined in packages/react-reconciler/src/ReactProfilerTimer.js.
Where is clearGestureUpdates() defined?
clearGestureUpdates() is defined in packages/react-reconciler/src/ReactProfilerTimer.js at line 352.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free