(error: Error)
| 2070 | // For example, https://github.com/facebook/react/issues/21402 |
| 2071 | // Emitting an error event allows the ErrorBoundary to show the original error. |
| 2072 | _throwAndEmitError(error: Error): empty { |
| 2073 | this.emit('error', error); |
| 2074 | |
| 2075 | // Throwing is still valuable for local development |
| 2076 | // and for unit testing the Store itself. |
| 2077 | throw error; |
| 2078 | } |
| 2079 | |
| 2080 | _guessSuspenseName(element: Element): string { |
| 2081 | const owner = this._idToElement.get(element.ownerID); |
no test coverage detected