@10play/error-boundary
v2.0.55
Published
Downloads
19
Readme
Error Boundary
Simplest Usage
import { ErrorBoundary } from '../lib/error-boundary';
const YourComponentWithBoundary = (props) => (
<ErrorBoundary>
<YourComponent />
</ErrorBoundary>
);
Check storybook docs for more details.