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

Function mountEffectImpl

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

Source from the content-addressed store, hash-verified

7898 return updateWorkInProgressHook().memoizedState;
7899}
7900function mountEffectImpl(fiberFlags, hookFlags, create, deps) {
7901 var hook = mountWorkInProgressHook();
7902 currentlyRenderingFiber$1.flags |= fiberFlags;
7903 hook.memoizedState = pushEffect(
7904 1 | hookFlags,
7905 create,
7906 { destroy: void 0 },
7907 void 0 === deps ? null : deps
7908 );
7909}
7910function updateEffectImpl(fiberFlags, hookFlags, create, deps) {
7911 var hook = updateWorkInProgressHook();
7912 deps = void 0 === deps ? null : deps;

Callers 4

mountEffectFunction · 0.85
index.jsFile · 0.85
mountLayoutEffectFunction · 0.85
mountImperativeHandleFunction · 0.85

Calls 2

mountWorkInProgressHookFunction · 0.85
pushEffectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…