Error Boundary
Simplest Usage
import { ErrorBoundary } from '../lib/error-boundary';
const YourComponentWithBoundary = (props) => (
<ErrorBoundary>
<YourComponent />
</ErrorBoundary>
);
Check storybook docs for more details.