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

Function getCurrentFiberOwnerName$1

code/styling/public/app.js:3933–3945  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3931}
3932
3933function getCurrentFiberOwnerName$1() {
3934 {
3935 var fiber = ReactDebugCurrentFiber.current;
3936 if (fiber === null) {
3937 return null;
3938 }
3939 var owner = fiber._debugOwner;
3940 if (owner !== null && typeof owner !== 'undefined') {
3941 return getComponentName(owner);
3942 }
3943 }
3944 return null;
3945}
3946
3947function getCurrentFiberStackAddendum$1() {
3948 {

Callers

nothing calls this directly

Calls 1

getComponentNameFunction · 0.70

Tested by

no test coverage detected