Created
October 3, 2019 22:30
-
-
Save zaydek-old/a0c495250b8f934d2c163f76511256bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// // See reactjs.org/docs/error-boundaries for reference. | |
// class ErrorBoundary extends React.Component { | |
// static getDerivedStateFromError(error) { | |
// // No op. | |
// return {} | |
// } | |
// componentDidCatch(error, errorInfo) { | |
// // No op. | |
// } | |
// render() { | |
// return this.props.children | |
// } | |
// } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment