()
| 12024 | } |
| 12025 | |
| 12026 | function resetStack() { |
| 12027 | if (nextUnitOfWork !== null) { |
| 12028 | var interruptedWork = nextUnitOfWork['return']; |
| 12029 | while (interruptedWork !== null) { |
| 12030 | unwindInterruptedWork(interruptedWork); |
| 12031 | interruptedWork = interruptedWork['return']; |
| 12032 | } |
| 12033 | } |
| 12034 | |
| 12035 | { |
| 12036 | ReactStrictModeWarnings.discardPendingWarnings(); |
| 12037 | stack.checkThatStackIsEmpty(); |
| 12038 | } |
| 12039 | |
| 12040 | nextRoot = null; |
| 12041 | nextRenderExpirationTime = NoWork; |
| 12042 | nextUnitOfWork = null; |
| 12043 | |
| 12044 | isRootReadyForCommit = false; |
| 12045 | } |
| 12046 | |
| 12047 | function commitAllHostEffects() { |
| 12048 | while (nextEffect !== null) { |
no test coverage detected