MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / shouldIgnoreFiber

Function shouldIgnoreFiber

code/redux/public/app.js:7814–7831  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

7812};
7813
7814var shouldIgnoreFiber = function (fiber) {
7815 // Host components should be skipped in the timeline.
7816 // We could check typeof fiber.type, but does this work with RN?
7817 switch (fiber.tag) {
7818 case HostRoot:
7819 case HostComponent:
7820 case HostText:
7821 case HostPortal:
7822 case CallComponent:
7823 case ReturnComponent:
7824 case Fragment:
7825 case ContextProvider:
7826 case ContextConsumer:
7827 return true;
7828 default:
7829 return false;
7830 }
7831};
7832
7833var clearPendingPhaseMeasurement = function () {
7834 if (currentPhase !== null && currentPhaseFiber !== null) {

Callers 4

startWorkTimerFunction · 0.70
cancelWorkTimerFunction · 0.70
stopWorkTimerFunction · 0.70
stopFailedWorkTimerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected