# @bugsnag/plugin-react

> React integration for @bugsnag/js

Latest version **9.0.0** (published 2026-09-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @bugsnag/plugin-react
pnpm add @bugsnag/plugin-react
yarn add @bugsnag/plugin-react
bun add @bugsnag/plugin-react
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 9.0.0 |
| Published | 2026-09-22 |
| First published | 2018-09-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 16.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 894 |
| Author | Bugsnag |
| Maintainers | sb--rohandhiman, sb-gulshans, smartbear_devops, sb_shyamnandlagishetti, sb-gaurava, sb-jigneshr, sb-priyankap, anshuman_singh |

## Links

- npm: https://www.npmjs.com/package/@bugsnag/plugin-react
- Repository: https://github.com/bugsnag/bugsnag-js
- Homepage: https://www.bugsnag.com/
- Issues: https://github.com/bugsnag/bugsnag-js/issues
- npm.io page: https://npm.io/package/@bugsnag/plugin-react

## Recent versions

- 9.0.0 (latest) — 2026-09-22
- 8.0.0-alpha.13 (next) — 2024-08-05
- 6.2.0-alpha.1 (alpha) — 2019-04-12
- 7.0.0-pre-alpha-ben.6 (pre-alpha-ben) — 2019-04-09
- 8.9.0 — 2026-04-08
- 8.8.0 — 2026-01-20
- 8.6.0 — 2025-09-25
- 8.4.0 — 2025-06-18
- 8.2.0 — 2025-01-27
- 8.1.1 — 2024-10-23
- 8.1.0 — 2024-10-23
- 8.0.0 — 2024-08-29
- 8.0.0-alpha.12 — 2024-07-31
- 8.0.0-alpha.11 — 2024-07-26
- 8.0.0-alpha.10 — 2024-07-16
- … 96 more at https://npm.io/package/@bugsnag/plugin-react/versions

## README

# @bugsnag/plugin-react

[![Documentation](https://img.shields.io/badge/docs-@bugsnag%2Fplugin–react-green.svg)](https://docs.bugsnag.com/platforms/javascript/react/)
[![NPM](https://img.shields.io/npm/v/@bugsnag/plugin-react.svg)](https://npmjs.org/package/@bugsnag/plugin-react)

[![NPM](https://nodei.co/npm/@bugsnag/plugin-react.png?compact=true)](https://npmjs.org/package/@bugsnag/plugin-react)

A [@bugsnag/js](https://github.com/bugsnag/bugsnag-js) plugin for [React](https://reactjs.org/). Learn more about [error reporting for React applications](https://www.bugsnag.com/platforms/react-error-reporting/) with Bugsnag.

This package enables you to integrate Bugsnag's error reporting with React's [error boundaries](https://blog.bugsnag.com/react-16-error-handling/). 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

1. [Create a Bugsnag account](https://www.bugsnag.com)
2. Complete the instructions in the [integration guide](https://docs.bugsnag.com/platforms/javascript/react/)
3. Report handled exceptions using
   [`Bugsnag.notify()`](https://docs.bugsnag.com/platforms/javascript/react/#reporting-handled-errors)
4. Customize your integration using the
   [configuration options](https://docs.bugsnag.com/platforms/javascript/react/configuration-options/)

## Support

* Check out the [documentation](https://docs.bugsnag.com/platforms/javascript/react)
* [Search open and closed issues](https://github.com/bugsnag/bugsnag-js/issues?q=is%3Aissue) for similar problems
* [Report a bug or request a feature](https://github.com/bugsnag/bugsnag-js/issues/new/choose)

## License

This package is free software released under the MIT License. See [LICENSE.txt](./LICENSE.txt) for details.

---
_Source: https://npm.io/package/@bugsnag/plugin-react · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
