(isAsync)
| 13500 | } |
| 13501 | |
| 13502 | function workLoop(isAsync) { |
| 13503 | if (!isAsync) { |
| 13504 | // Flush all expired work. |
| 13505 | while (nextUnitOfWork !== null) { |
| 13506 | nextUnitOfWork = performUnitOfWork(nextUnitOfWork); |
| 13507 | } |
| 13508 | } else { |
| 13509 | // Flush asynchronous work until the deadline runs out of time. |
| 13510 | while (nextUnitOfWork !== null && !shouldYield()) { |
| 13511 | nextUnitOfWork = performUnitOfWork(nextUnitOfWork); |
| 13512 | } |
| 13513 | } |
| 13514 | } |
| 13515 | |
| 13516 | function renderRoot(root, expirationTime, isAsync) { |
| 13517 | !!isWorking ? invariant(false, 'renderRoot was called recursively. This error is likely caused by a bug in React. Please file an issue.') : void 0; |
no test coverage detected