()
| 13876 | } |
| 13877 | |
| 13878 | function finishRendering() { |
| 13879 | nestedUpdateCount = 0; |
| 13880 | |
| 13881 | if (completedBatches !== null) { |
| 13882 | var batches = completedBatches; |
| 13883 | completedBatches = null; |
| 13884 | for (var i = 0; i < batches.length; i++) { |
| 13885 | var batch = batches[i]; |
| 13886 | try { |
| 13887 | batch._onComplete(); |
| 13888 | } catch (error) { |
| 13889 | if (!hasUnhandledError) { |
| 13890 | hasUnhandledError = true; |
| 13891 | unhandledError = error; |
| 13892 | } |
| 13893 | } |
| 13894 | } |
| 13895 | } |
| 13896 | |
| 13897 | if (hasUnhandledError) { |
| 13898 | var error = unhandledError; |
| 13899 | unhandledError = null; |
| 13900 | hasUnhandledError = false; |
| 13901 | throw error; |
| 13902 | } |
| 13903 | } |
| 13904 | |
| 13905 | function performWorkOnRoot(root, expirationTime, isAsync) { |
| 13906 | !!isRendering ? invariant(false, 'performWorkOnRoot was called recursively. This error is likely caused by a bug in React. Please file an issue.') : void 0; |
no outgoing calls
no test coverage detected