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

Function cancelWorkTimer

lib/assets/react-source/development/react.js:14099–14110  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

14097 }
14098 }
14099 function cancelWorkTimer(fiber) {
14100 {
14101 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
14102 return;
14103 } // Remember we shouldn't complete measurement for this fiber.
14104 // Otherwise flamechart will be deep even for small updates.
14105
14106
14107 fiber._debugIsCurrentlyTiming = false;
14108 clearFiberMark(fiber, null);
14109 }
14110 }
14111 function stopWorkTimer(fiber) {
14112 {
14113 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {

Callers 2

mountLazyComponentFunction · 0.85

Calls 2

shouldIgnoreFiberFunction · 0.85
clearFiberMarkFunction · 0.85

Tested by

no test coverage detected