(root, committedExpirationTime)
| 22927 | } |
| 22928 | |
| 22929 | function commitLayoutEffects(root, committedExpirationTime) { |
| 22930 | // TODO: Should probably move the bulk of this function to commitWork. |
| 22931 | while (nextEffect !== null) { |
| 22932 | setCurrentFiber(nextEffect); |
| 22933 | var effectTag = nextEffect.effectTag; |
| 22934 | |
| 22935 | if (effectTag & (Update | Callback)) { |
| 22936 | recordEffect(); |
| 22937 | var current = nextEffect.alternate; |
| 22938 | commitLifeCycles(root, current, nextEffect); |
| 22939 | } |
| 22940 | |
| 22941 | if (effectTag & Ref) { |
| 22942 | recordEffect(); |
| 22943 | commitAttachRef(nextEffect); |
| 22944 | } |
| 22945 | |
| 22946 | resetCurrentFiber(); |
| 22947 | nextEffect = nextEffect.nextEffect; |
| 22948 | } |
| 22949 | } |
| 22950 | |
| 22951 | function flushPassiveEffects() { |
| 22952 | if (pendingPassiveEffectsRenderPriority !== NoPriority) { |
nothing calls this directly
no test coverage detected