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

Function updateEffectImpl

docs/index.js:7910–7920  ·  view source on GitHub ↗
(fiberFlags, hookFlags, create, deps)

Source from the content-addressed store, hash-verified

7908 );
7909}
7910function updateEffectImpl(fiberFlags, hookFlags, create, deps) {
7911 var hook = updateWorkInProgressHook();
7912 deps = void 0 === deps ? null : deps;
7913 var inst = hook.memoizedState.inst;
7914 null !== currentHook &&
7915 null !== deps &&
7916 areHookInputsEqual(deps, currentHook.memoizedState.deps)
7917 ? (hook.memoizedState = pushEffect(hookFlags, create, inst, deps))
7918 : ((currentlyRenderingFiber$1.flags |= fiberFlags),
7919 (hook.memoizedState = pushEffect(1 | hookFlags, create, inst, deps)));
7920}
7921function mountEffect(create, deps) {
7922 mountEffectImpl(8390656, 8, create, deps);
7923}

Callers 6

updateEffectFunction · 0.85
updateInsertionEffectFunction · 0.85
updateLayoutEffectFunction · 0.85
updateImperativeHandleFunction · 0.85
updateSyncExternalStoreFunction · 0.85
index.jsFile · 0.85

Calls 3

updateWorkInProgressHookFunction · 0.85
areHookInputsEqualFunction · 0.85
pushEffectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…