![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@honeybadger-io/react
Advanced tools
For comprehensive documentation and support, check out our documentation site.
The documentation includes a detailed React integration guide
The goal is to provide an idiomatic, simple integration of Honeybadger's exception monitoring service with React.js applications.
This version is considered suitable for preview.
Honeybadger-react hooks in to the error handler in React. This means we only notify Honeybadger of React context for errors that React handles. Some errors inside React code may propagate to the window onerror handler instead.
In those cases, Honeybadger Javascript library's default error notifier is invoked, which will contain a stack trace but none of the React variables.
This project is built using create-react-library with rollup and generates artifacts in commonjs, esm and umd formats. It's possible your own build environment may be just different enough to require some adjustments. If you find that our artifacts don't quite meet your needs, please file an issue on GitHub.
There's a minimal implementation of a honeybadger-react integration in the ./example folder. If you want to contribute a patch to honeybadger-react, it can be useful to have the demo app running.
To run it, issue these commands from your shell:
cd example
npm install
REACT_APP_HONEYBADGER_API_KEY=b425b636 npm run start
This will serve the demo app with hot reload at localhost:3000
For a detailed explanation on how hot reloading works, check out the documentation.
# install dependencies
npm install
# build for production
npm run build
# run unit tests
npm test
# automatically continuously rebuild the dist/ artifacts with hot reload when developing
npm run start
This package is MIT licensed. See the MIT-LICENSE file in this folder for details.
FAQs
React.js integration for honeybadger
The npm package @honeybadger-io/react receives a total of 14,569 weekly downloads. As such, @honeybadger-io/react popularity was classified as popular.
We found that @honeybadger-io/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.