(current, nearestMountedAncestor)
| 25137 | } |
| 25138 | |
| 25139 | function commitPassiveUnmountInsideDeletedTreeOnFiber(current, nearestMountedAncestor) { |
| 25140 | switch (current.tag) { |
| 25141 | case FunctionComponent: |
| 25142 | case ForwardRef: |
| 25143 | case SimpleMemoComponent: |
| 25144 | { |
| 25145 | if ( current.mode & ProfileMode) { |
| 25146 | startPassiveEffectTimer(); |
| 25147 | commitHookEffectListUnmount(Passive$1, current, nearestMountedAncestor); |
| 25148 | recordPassiveEffectDuration(current); |
| 25149 | } else { |
| 25150 | commitHookEffectListUnmount(Passive$1, current, nearestMountedAncestor); |
| 25151 | } |
| 25152 | |
| 25153 | break; |
| 25154 | } |
| 25155 | } |
| 25156 | } // TODO: Reuse reappearLayoutEffects traversal here? |
| 25157 | |
| 25158 | |
| 25159 | function invokeLayoutEffectMountInDEV(fiber) { |
no test coverage detected
searching dependent graphs…