(props: ErrorBoundaryProps)
| 10 | |
| 11 | export class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> { |
| 12 | constructor(props: ErrorBoundaryProps) { |
| 13 | super(props); |
| 14 | this.state = { hasError: false }; |
| 15 | } |
| 16 | |
| 17 | static getDerivedStateFromError() { |
| 18 | // Update state so the next render will show the fallback UI. |
nothing calls this directly
no outgoing calls
no test coverage detected