MCPcopy Create free account
hub / github.com/plotly/dash / invokePassiveEffectMountInDEV

Function invokePassiveEffectMountInDEV

dash/deps/react-dom@18.3.1.js:25193–25212  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

25191 }
25192
25193 function invokePassiveEffectMountInDEV(fiber) {
25194 {
25195 // We don't need to re-check StrictEffectsMode here.
25196 // This function is only called if that check has already passed.
25197 switch (fiber.tag) {
25198 case FunctionComponent:
25199 case ForwardRef:
25200 case SimpleMemoComponent:
25201 {
25202 try {
25203 commitHookEffectListMount(Passive$1 | HasEffect, fiber);
25204 } catch (error) {
25205 captureCommitPhaseError(fiber, fiber.return, error);
25206 }
25207
25208 break;
25209 }
25210 }
25211 }
25212 }
25213
25214 function invokeLayoutEffectUnmountInDEV(fiber) {
25215 {

Callers

nothing calls this directly

Calls 2

captureCommitPhaseErrorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…