MCPcopy Create free account
hub / github.com/plotly/dash / getCurrentFiberOwnerNameInDevOrNull

Function getCurrentFiberOwnerNameInDevOrNull

dash/deps/react-dom@18.3.1.js:1485–1499  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1483 var current = null;
1484 var isRendering = false;
1485 function getCurrentFiberOwnerNameInDevOrNull() {
1486 {
1487 if (current === null) {
1488 return null;
1489 }
1490
1491 var owner = current._debugOwner;
1492
1493 if (owner !== null && typeof owner !== 'undefined') {
1494 return getComponentNameFromFiber(owner);
1495 }
1496 }
1497
1498 return null;
1499 }
1500
1501 function getCurrentFiberStackInDev() {
1502 {

Callers 4

initWrapperStateFunction · 0.70
initWrapperState$2Function · 0.70

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…