(subtreeRoot, root, committedLanes, committedTransitions)
| 24930 | } |
| 24931 | |
| 24932 | function commitPassiveMountEffects_complete(subtreeRoot, root, committedLanes, committedTransitions) { |
| 24933 | while (nextEffect !== null) { |
| 24934 | var fiber = nextEffect; |
| 24935 | |
| 24936 | if ((fiber.flags & Passive) !== NoFlags) { |
| 24937 | setCurrentFiber(fiber); |
| 24938 | |
| 24939 | try { |
| 24940 | commitPassiveMountOnFiber(root, fiber, committedLanes, committedTransitions); |
| 24941 | } catch (error) { |
| 24942 | captureCommitPhaseError(fiber, fiber.return, error); |
| 24943 | } |
| 24944 | |
| 24945 | resetCurrentFiber(); |
| 24946 | } |
| 24947 | |
| 24948 | if (fiber === subtreeRoot) { |
| 24949 | nextEffect = null; |
| 24950 | return; |
| 24951 | } |
| 24952 | |
| 24953 | var sibling = fiber.sibling; |
| 24954 | |
| 24955 | if (sibling !== null) { |
| 24956 | sibling.return = fiber.return; |
| 24957 | nextEffect = sibling; |
| 24958 | return; |
| 24959 | } |
| 24960 | |
| 24961 | nextEffect = fiber.return; |
| 24962 | } |
| 24963 | } |
| 24964 | |
| 24965 | function commitPassiveMountOnFiber(finishedRoot, finishedWork, committedLanes, committedTransitions) { |
| 24966 | switch (finishedWork.tag) { |
no test coverage detected
searching dependent graphs…