( finishedWork: Fiber, root: FiberRoot, committedLanes: Lanes, )
| 2874 | } |
| 2875 | |
| 2876 | export function commitLayoutEffects( |
| 2877 | finishedWork: Fiber, |
| 2878 | root: FiberRoot, |
| 2879 | committedLanes: Lanes, |
| 2880 | ): void { |
| 2881 | inProgressLanes = committedLanes; |
| 2882 | inProgressRoot = root; |
| 2883 | |
| 2884 | resetComponentEffectTimers(); |
| 2885 | |
| 2886 | const current = finishedWork.alternate; |
| 2887 | commitLayoutEffectOnFiber(root, current, finishedWork, committedLanes); |
| 2888 | |
| 2889 | inProgressLanes = null; |
| 2890 | inProgressRoot = null; |
| 2891 | } |
| 2892 | |
| 2893 | function recursivelyTraverseLayoutEffects( |
| 2894 | root: FiberRoot, |
no test coverage detected