(props: Props)
| 12 | |
| 13 | export class ErrorBoundary extends PureComponent<Props, State> { |
| 14 | constructor(props: Props) { |
| 15 | super(props); |
| 16 | this.state = {e: 0}; |
| 17 | } |
| 18 | |
| 19 | static getDerivedStateFromError() { |
| 20 | return {e: 1}; |
nothing calls this directly
no outgoing calls
no test coverage detected