MCPcopy Create free account
hub / github.com/caseywebdev/react-list / shouldProfile

Function shouldProfile

docs/index.js:29395–29397  ·  view source on GitHub ↗
(current)

Source from the content-addressed store, hash-verified

29393 callCallback(callbacks[updateQueue], context);
29394 }
29395 function shouldProfile(current) {
29396 return (current.mode & ProfileMode) !== NoMode;
29397 }
29398 function commitHookLayoutEffects(finishedWork, hookFlags) {
29399 shouldProfile(finishedWork)
29400 ? (startEffectTimer(),

Callers 8

commitHookLayoutEffectsFunction · 0.85
commitAttachRefFunction · 0.85
safelyDetachRefFunction · 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…