(isAsync)
| 13387 | } |
| 13388 | |
| 13389 | function workLoop(isAsync) { |
| 13390 | if (!isAsync) { |
| 13391 | // Flush all expired work. |
| 13392 | while (nextUnitOfWork !== null) { |
| 13393 | nextUnitOfWork = performUnitOfWork(nextUnitOfWork); |
| 13394 | } |
| 13395 | } else { |
| 13396 | // Flush asynchronous work until the deadline runs out of time. |
| 13397 | while (nextUnitOfWork !== null && !shouldYield()) { |
| 13398 | nextUnitOfWork = performUnitOfWork(nextUnitOfWork); |
| 13399 | } |
| 13400 | } |
| 13401 | } |
| 13402 | |
| 13403 | function renderRoot(root, expirationTime, isAsync) { |
| 13404 | !!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