(root, committedExpirationTime)
| 26487 | } |
| 26488 | |
| 26489 | function commitLayoutEffects(root, committedExpirationTime) { |
| 26490 | // TODO: Should probably move the bulk of this function to commitWork. |
| 26491 | while (nextEffect !== null) { |
| 26492 | setCurrentFiber(nextEffect); |
| 26493 | var effectTag = nextEffect.effectTag; |
| 26494 | |
| 26495 | if (effectTag & (Update | Callback)) { |
| 26496 | recordEffect(); |
| 26497 | var current = nextEffect.alternate; |
| 26498 | commitLifeCycles(root, current, nextEffect); |
| 26499 | } |
| 26500 | |
| 26501 | if (effectTag & Ref) { |
| 26502 | recordEffect(); |
| 26503 | commitAttachRef(nextEffect); |
| 26504 | } |
| 26505 | |
| 26506 | resetCurrentFiber(); |
| 26507 | nextEffect = nextEffect.nextEffect; |
| 26508 | } |
| 26509 | } |
| 26510 | |
| 26511 | function flushPassiveEffects() { |
| 26512 | if (pendingPassiveEffectsRenderPriority !== NoPriority) { |
nothing calls this directly
no test coverage detected