MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / getFiberLabel

Function getFiberLabel

code/third-party/public/app.js:6749–6757  ·  view source on GitHub ↗
(componentName, isMounted, phase)

Source from the content-addressed store, hash-verified

6747};
6748
6749var getFiberLabel = function (componentName, isMounted, phase) {
6750 if (phase === null) {
6751 // These are composite component total time measurements.
6752 return componentName + ' [' + (isMounted ? 'update' : 'mount') + ']';
6753 } else {
6754 // Composite component methods.
6755 return componentName + '.' + phase;
6756 }
6757};
6758
6759var beginFiberMark = function (fiber, phase) {
6760 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