MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / getCurrentFiberOwnerName$1

Function getCurrentFiberOwnerName$1

code/third-party/public/app.js:3166–3178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3164}
3165
3166function getCurrentFiberOwnerName$1() {
3167 {
3168 var fiber = ReactDebugCurrentFiber.current;
3169 if (fiber === null) {
3170 return null;
3171 }
3172 var owner = fiber._debugOwner;
3173 if (owner !== null && typeof owner !== 'undefined') {
3174 return getComponentName(owner);
3175 }
3176 }
3177 return null;
3178}
3179
3180function getCurrentFiberStackAddendum$1() {
3181 {

Callers

nothing calls this directly

Calls 1

getComponentNameFunction · 0.70

Tested by

no test coverage detected