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

Function getFiberLabel

code/composition/public/app.js:7654–7662  ·  view source on GitHub ↗
(componentName, isMounted, phase)

Source from the content-addressed store, hash-verified

7652};
7653
7654var getFiberLabel = function (componentName, isMounted, phase) {
7655 if (phase === null) {
7656 // These are composite component total time measurements.
7657 return componentName + ' [' + (isMounted ? 'update' : 'mount') + ']';
7658 } else {
7659 // Composite component methods.
7660 return componentName + '.' + phase;
7661 }
7662};
7663
7664var beginFiberMark = function (fiber, phase) {
7665 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