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

Function now

packages/scheduler/src/__tests__/Scheduler-test.js:71–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70 global.performance = {
71 now() {
72 return currentTime;
73 },
74 };
75
76 // Delete node provide setImmediate so we fall through to MessageChannel.

Callers 15

ReactFiberHooks.jsFile · 0.90
resetRenderTimerFunction · 0.90
getCurrentTimeFunction · 0.90
scheduleUpdateOnFiberFunction · 0.90
performWorkOnRootFunction · 0.90
finishConcurrentRenderFunction · 0.90
commitRootWhenReadyFunction · 0.90
markTransitionStartedFunction · 0.90
markCommitTimeOfFallbackFunction · 0.90
workLoopConcurrentFunction · 0.90
finishedViewTransitionFunction · 0.90
flushPassiveEffectsImplFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected