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

Function commitCachePassiveMountEffect

docs/index.js:12409–12416  ·  view source on GitHub ↗
(current, finishedWork)

Source from the content-addressed store, hash-verified

12407 null != previousCache && releaseCache(previousCache));
12408}
12409function commitCachePassiveMountEffect(current, finishedWork) {
12410 current = null;
12411 null !== finishedWork.alternate &&
12412 (current = finishedWork.alternate.memoizedState.cache);
12413 finishedWork = finishedWork.memoizedState.cache;
12414 finishedWork !== current &&
12415 (finishedWork.refCount++, null != current && releaseCache(current));
12416}
12417function recursivelyTraversePassiveMountEffects(
12418 root,
12419 parentFiber,

Calls 2

releaseCacheFunction · 0.85
retainCacheFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…