()
| 13921 | } |
| 13922 | |
| 13923 | function finishRendering() { |
| 13924 | nestedUpdateCount = 0; |
| 13925 | |
| 13926 | if (completedBatches !== null) { |
| 13927 | var batches = completedBatches; |
| 13928 | completedBatches = null; |
| 13929 | for (var i = 0; i < batches.length; i++) { |
| 13930 | var batch = batches[i]; |
| 13931 | try { |
| 13932 | batch._onComplete(); |
| 13933 | } catch (error) { |
| 13934 | if (!hasUnhandledError) { |
| 13935 | hasUnhandledError = true; |
| 13936 | unhandledError = error; |
| 13937 | } |
| 13938 | } |
| 13939 | } |
| 13940 | } |
| 13941 | |
| 13942 | if (hasUnhandledError) { |
| 13943 | var error = unhandledError; |
| 13944 | unhandledError = null; |
| 13945 | hasUnhandledError = false; |
| 13946 | throw error; |
| 13947 | } |
| 13948 | } |
| 13949 | |
| 13950 | function performWorkOnRoot(root, expirationTime, isAsync) { |
| 13951 | !!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