npm.io
21.0.0 • Published 11 months ago

@highlight-run/react

Licence
Apache-2.0
Version
21.0.0
Deps
0
Size
113 kB
Vulns
0
Weekly
0
Stars
6

@highlight-run/react

The @highlight-run/react package hosts the react SDK for highlight. This includes the <ErrorBoundary/> component which allows capturing and rendering an error dialog for React rendering exceptions in your app.

Development

To test changes to the SDK and experiment with the UI, you'll want to run yarn dev:components. This will run yarn dev in the @highlight-run/react SDK directory and start the @highlight-run/component-preview ladle docs from packages/component-preview, which contain a story for rendering the error boundary (with hot reloading for changes).