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

Function getCurrentFiberOwnerName$1

code/communication/public/app.js:3968–3980  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3966}
3967
3968function getCurrentFiberOwnerName$1() {
3969 {
3970 var fiber = ReactDebugCurrentFiber.current;
3971 if (fiber === null) {
3972 return null;
3973 }
3974 var owner = fiber._debugOwner;
3975 if (owner !== null && typeof owner !== 'undefined') {
3976 return getComponentName(owner);
3977 }
3978 }
3979 return null;
3980}
3981
3982function getCurrentFiberStackAddendum$1() {
3983 {

Callers

nothing calls this directly

Calls 1

getComponentNameFunction · 0.70

Tested by

no test coverage detected