bvaughn/react-error-boundary
Simple reusable React error boundary component observed · 2026-10-19
Health v2 · maintenance only
99/100
- Activity 100
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 15.0
- age_days: 3381
- days_rel: 30
- days_push: 2
- n_releases_24m: 15
Adoption not part of the score
7993 stars · 232 forks observed · 2026-10-19
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A reusable React error boundary component that catches rendering errors and displays fallback UI. It supports all React renderers including React DOM and React Native.
Use cases
- show a fallback UI when a React component fails to render
- catch rendering errors in React apps
- retry rendering after an error with resetErrorBoundary
- log rendering errors to an error reporting service
- handle async and event handler errors in React
When to choose
- you need a battle-tested error boundary for React DOM or React Native
- you want declarative fallback UI with reset/retry support
- you need to forward caught errors from event handlers or async code to a boundary
When to avoid
- you need to catch errors during server-side rendering
- you need to catch errors in event handlers or async code without additional wiring
- your project does not support ES Modules and you cannot use version 5
Facets
library · maturity stable
error-handling ui-components frontend web-development developer-tools browser cross-platform react error-boundary fallback-ui react-native typescript nodejs
3 sources
- readme: https://github.com/bvaughn/react-error-boundary · fetched 2026-10-19 · b9f7384f024c
- homepage: https://react-error-boundary-lib.vercel.app · fetched 2026-08-29 · db03e04d1717
- registry_npm: https://registry.npmjs.org/react-error-boundary · fetched 2026-08-29 · 68db3f440e25
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bvaughn/react-error-boundary | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="bvaughn/react-error-boundary")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem