We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 208a8bf + 2a77a3a commit 2d39ffcCopy full SHA for 2d39ffc
package.json
@@ -44,7 +44,7 @@
44
"webpack": "^3.3.0"
45
},
46
"peerDependencies": {
47
- "react": "^16.0.0-alpha.13",
48
- "react-dom": "^16.0.0-alpha.13"
+ "react": "^16.0.0-beta.1",
+ "react-dom": "^16.0.0-beta.1"
49
}
50
src/ErrorBoundary.js
@@ -35,11 +35,6 @@ class ErrorBoundary extends Component {
35
};
36
37
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
-
43
componentDidCatch(error: Error, info: ErrorInfo):void {
const {onError} = this.props;
0 commit comments