MCPcopy Create free account
hub / github.com/microsoft/SandDance / mountEffect

Function mountEffect

docs/external/js/react-dom.development.js:15459–15468  ·  view source on GitHub ↗
(create, deps)

Source from the content-addressed store, hash-verified

15457 }
15458
15459 function mountEffect(create, deps) {
15460 {
15461 // $FlowExpectedError - jest isn't a global, and isn't recognized outside of tests
15462 if ('undefined' !== typeof jest) {
15463 warnIfNotCurrentlyActingEffectsInDEV(currentlyRenderingFiber$1);
15464 }
15465 }
15466
15467 return mountEffectImpl(Update | Passive, Passive$1, create, deps);
15468 }
15469
15470 function updateEffect(create, deps) {
15471 {

Callers 2

mountDeferredValueFunction · 0.85

Calls 2

mountEffectImplFunction · 0.85

Tested by

no test coverage detected