MCPcopy Index your code
hub / github.com/caseywebdev/react-list / runWithFiberInDEV

Function runWithFiberInDEV

docs/index.js:19229–19243  ·  view source on GitHub ↗
(fiber, callback, arg0, arg1, arg2, arg3, arg4)

Source from the content-addressed store, hash-verified

19227 return null === current ? "" : getStackByFiberInDevAndProd(current);
19228 }
19229 function runWithFiberInDEV(fiber, callback, arg0, arg1, arg2, arg3, arg4) {
19230 var previousFiber = current;
19231 ReactSharedInternals.getCurrentStack =
19232 null === fiber ? null : getCurrentFiberStackInDev;
19233 isRendering = !1;
19234 current = fiber;
19235 try {
19236 return callback(arg0, arg1, arg2, arg3, arg4);
19237 } finally {
19238 current = previousFiber;
19239 }
19240 throw Error(
19241 "runWithFiberInDEV should never be called in production. This is a bug in React."
19242 );
19243 }
19244 function getNearestMountedFiber(fiber) {
19245 var node = fiber,
19246 nearestMounted = fiber;

Callers 15

validateFragmentPropsFunction · 0.85
warnOnInvalidKeyFunction · 0.85
createRootErrorUpdateFunction · 0.85
commitClassCallbacksFunction · 0.85
commitClassSnapshotFunction · 0.85
safelyAttachRefFunction · 0.85
safelyDetachRefFunction · 0.85
commitHostMountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…