bvaughn/react-error-boundary
Simple reusable React error boundary component observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 97
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 27
- age_days: 3333
- days_rel: 18
- days_push: 18
- n_releases_24m: 12
Adoption not part of the score
7984 stars · 229 forks observed · 2026-08-28
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-08-28 · 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 | 98 |
For agents
markdown · JSON · MCP: product_card(name="bvaughn/react-error-boundary")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem