MCPcopy Create free account
hub / github.com/microsoft/SandDance / getCurrentFiberStackInDev

Function getCurrentFiberStackInDev

docs/external/js/react-dom.development.js:1607–1617  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1605 return null;
1606 }
1607 function getCurrentFiberStackInDev() {
1608 {
1609 if (current === null) {
1610 return '';
1611 } // Safe because if current fiber exists, we are reconciling,
1612 // and it is guaranteed to be the work-in-progress version.
1613
1614
1615 return getStackByFiberInDevAndProd(current);
1616 }
1617 }
1618 function resetCurrentFiber() {
1619 {
1620 ReactDebugCurrentFrame$1.getCurrentStack = null;

Callers 3

throwOnInvalidObjectTypeFunction · 0.85
warnOnFunctionTypeFunction · 0.85

Calls 1

Tested by

no test coverage detected