@adhawk/react-error-boundary
TypeScript icon, indicating that this package has built-in type declarations

1.3.10 • Public • Published

@adhawk/react-error-boundary

This packages export a React component which will wrap React components to catch errors. A user is shown a dialog to give feedback when they experience an error.

Setup

yarn add @adhawk/error-boundary

Usage

import { ErrorBoundary } from "@adhawk/error-boundary";

ReactDOM.render(
  <ErrorBoundary>
    <App />
  </ErrorBoundary>,
  document.querySelector("root"),
);

Dependents (0)

Package Sidebar

Install

npm i @adhawk/react-error-boundary

Weekly Downloads

20

Version

1.3.10

License

MIT

Unpacked Size

239 kB

Total Files

11

Last publish

Collaborators

  • stephengrable1
  • adhawk
  • janeosaur
  • stephengrable