Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import React from 'react';
export default class ErrorBoundaries extends React.Component {
componentDidCatch(error, info) {
console.log("Component Did Catch Error");
}
render() {
return (
<div>
<EmployeeDetails />
</div>
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment