@errortracker/plugin-react
v2.0.5
Published
React integration for @errortracker/js
Downloads
1
Readme
@errortracker/plugin-react
A @errortracker/js plugin for React. Learn more about error reporting for React applications with ErrorTracker.
This package enables you to integrate ErrorTracker's error reporting with React's error boundaries. It creates and configures an <ErrorBoundary/>
component which will capture and report unhandled errors in your component tree. You either use the <ErrorBoundary/>
directly, or extend it to provide some fallback UI for your users.
Reported errors will contain useful debugging info from Reacts's internals such as the component name where the error originated, and the component stack.
Getting started
- Create a ErrorTracker account
- Complete the instructions in the integration guide
- Report handled exceptions using
ErrorTracker.notify()
- Customize your integration using the configuration options
Support
- Check out the documentation
- Search open and closed issues for similar problems
- Report a bug or request a feature
License
This package is free software released under the MIT License. See LICENSE.txt for details.