()
| 13144 | } |
| 13145 | |
| 13146 | function finishRendering() { |
| 13147 | nestedUpdateCount = 0; |
| 13148 | |
| 13149 | if (completedBatches !== null) { |
| 13150 | var batches = completedBatches; |
| 13151 | completedBatches = null; |
| 13152 | for (var i = 0; i < batches.length; i++) { |
| 13153 | var batch = batches[i]; |
| 13154 | try { |
| 13155 | batch._onComplete(); |
| 13156 | } catch (error) { |
| 13157 | if (!hasUnhandledError) { |
| 13158 | hasUnhandledError = true; |
| 13159 | unhandledError = error; |
| 13160 | } |
| 13161 | } |
| 13162 | } |
| 13163 | } |
| 13164 | |
| 13165 | if (hasUnhandledError) { |
| 13166 | var error = unhandledError; |
| 13167 | unhandledError = null; |
| 13168 | hasUnhandledError = false; |
| 13169 | throw error; |
| 13170 | } |
| 13171 | } |
| 13172 | |
| 13173 | function performWorkOnRoot(root, expirationTime, isAsync) { |
| 13174 | !!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