Reusable Error Boundary Component
"
react-error-boundary
is a reusable React error boundary component supporting all React renderers (including React DOM and React Native).It provides a pre-built component for a simple setup and additional features for resetting error boundaries, support for hooks, an easy integration with error logging services and an easy way to specify a fallback component."
Brian Vaughn