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

Function getFiberLabel

code/redux/public/app.js:7767–7775  ·  view source on GitHub ↗
(componentName, isMounted, phase)

Source from the content-addressed store, hash-verified

7765};
7766
7767var getFiberLabel = function (componentName, isMounted, phase) {
7768 if (phase === null) {
7769 // These are composite component total time measurements.
7770 return componentName + ' [' + (isMounted ? 'update' : 'mount') + ']';
7771 } else {
7772 // Composite component methods.
7773 return componentName + '.' + phase;
7774 }
7775};
7776
7777var beginFiberMark = function (fiber, phase) {
7778 var componentName = getComponentName(fiber) || 'Unknown';

Callers 3

beginFiberMarkFunction · 0.70
clearFiberMarkFunction · 0.70
endFiberMarkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected