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

Function clearGestureUpdates

packages/react-reconciler/src/ReactProfilerTimer.js:352–360  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

350}
351
352export function clearGestureUpdates(): void {
353 // Same as clearGestureTimers but doesn't reset the clamp time because we didn't
354 // actually emit a render.
355 gestureUpdateTime = -1.1;
356 gestureUpdateType = 0;
357 gestureSuspendedTime = -1.1;
358 gestureEventRepeatTime = gestureEventTime;
359 gestureEventTime = -1.1;
360}
361
362export function clampBlockingTimers(finalTime: number): void {
363 if (!enableProfilerTimer || !enableComponentPerformanceTrack) {

Callers 1

commitRootFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected