MCPcopy Create free account
hub / github.com/reactjs/react-rails / stopPhaseTimer

Function stopPhaseTimer

lib/assets/react-source/development/react.js:14162–14176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14160 }
14161 }
14162 function stopPhaseTimer() {
14163 {
14164 if (!supportsUserTiming) {
14165 return;
14166 }
14167
14168 if (currentPhase !== null && currentPhaseFiber !== null) {
14169 var warning = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
14170 endFiberMark(currentPhaseFiber, currentPhase, warning);
14171 }
14172
14173 currentPhase = null;
14174 currentPhaseFiber = null;
14175 }
14176 }
14177 function startWorkLoopTimer(nextUnitOfWork) {
14178 {
14179 currentFiber = nextUnitOfWork;

Callers 9

processChildContextFunction · 0.85
callComponentWillMountFunction · 0.85
resumeMountClassInstanceFunction · 0.85
updateClassInstanceFunction · 0.85
commitLifeCyclesFunction · 0.85

Calls 1

endFiberMarkFunction · 0.85

Tested by

no test coverage detected