(fiber)
| 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 | { |
nothing calls this directly
no test coverage detected
searching dependent graphs…