Skip to content

Instantly share code, notes, and snippets.

Created February 5, 2020 13:02
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 (
<EmployeeDetails />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment