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

Function updateEffect

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

Source from the content-addressed store, hash-verified

15468 }
15469
15470 function updateEffect(create, deps) {
15471 {
15472 // $FlowExpectedError - jest isn't a global, and isn't recognized outside of tests
15473 if ('undefined' !== typeof jest) {
15474 warnIfNotCurrentlyActingEffectsInDEV(currentlyRenderingFiber$1);
15475 }
15476 }
15477
15478 return updateEffectImpl(Update | Passive, Passive$1, create, deps);
15479 }
15480
15481 function mountLayoutEffect(create, deps) {
15482 return mountEffectImpl(Update, Layout, create, deps);

Callers 3

updateDeferredValueFunction · 0.85
rerenderDeferredValueFunction · 0.85

Calls 2

updateEffectImplFunction · 0.85

Tested by

no test coverage detected