Skip to content

Commit cc5d589

Browse files
author
Blling
committed
Remove unstable_handleError
1 parent 208a8bf commit cc5d589

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/ErrorBoundary.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ class ErrorBoundary extends Component {
3535
};
3636
}
3737

38-
unstable_handleError(error: Error, info: ErrorInfo):void {
39-
// This method is a fallback for react <= 16.0.0-alpha.13
40-
this.componentDidCatch(error, info);
41-
}
42-
4338
componentDidCatch(error: Error, info: ErrorInfo):void {
4439
const {onError} = this.props;
4540

0 commit comments

Comments
 (0)