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

Function clearTransitionTimers

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

Source from the content-addressed store, hash-verified

326}
327
328export function clearTransitionTimers(): void {
329 transitionStartTime = -1.1;
330 transitionUpdateTime = -1.1;
331 transitionUpdateType = 0;
332 transitionSuspendedTime = -1.1;
333 transitionEventRepeatTime = transitionEventTime;
334 transitionEventTime = -1.1;
335 transitionClampTime = now();
336}
337
338export function hasScheduledGestureTransitionWork(): boolean {
339 // If we have call setOptimistic on a gesture

Callers 1

prepareFreshStackFunction · 0.90

Calls 1

nowFunction · 0.50

Tested by

no test coverage detected