MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / stopPhaseTimer

Function stopPhaseTimer

code/controlled-uncontrolled/public/app.js:7050–7062  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7048}
7049
7050function stopPhaseTimer() {
7051 if (enableUserTimingAPI) {
7052 if (!supportsUserTiming) {
7053 return;
7054 }
7055 if (currentPhase !== null && currentPhaseFiber !== null) {
7056 var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
7057 endFiberMark(currentPhaseFiber, currentPhase, warning$$1);
7058 }
7059 currentPhase = null;
7060 currentPhaseFiber = null;
7061 }
7062}
7063
7064function startWorkLoopTimer(nextUnitOfWork) {
7065 if (enableUserTimingAPI) {

Callers 8

callComponentWillMountFunction · 0.70
resumeMountClassInstanceFunction · 0.70
updateClassInstanceFunction · 0.70
commitLifeCyclesFunction · 0.70
processChildContextFunction · 0.70

Calls 1

endFiberMarkFunction · 0.70

Tested by

no test coverage detected