react-error-boundary breaking changes
react-error-boundary 6.0.0 (May 3, 2025) is its newest release with breaking changes. The first: Package is now ESM-only in react-error-boundary 6.0.0. Every breaking API change we have recorded in react-error-boundary on npm: 29 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.1.6, released September 20, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 5.0.0 to 6.0.0: 1 breaking change in 1 version.
- From 4.0.0 to 6.0.0: 3 breaking changes in 2 versions.
react-error-boundary 6.0.0 breaking changes
- Removed
The package no longer ships a CommonJS build, so code that loads it with require must switch to import. github.com
react-error-boundary 5.0.0 breaking changes
- Signature changed
ErrorBoundaryPropsWithRender
Was type ErrorBoundaryPropsWithRender = ErrorBoundarySharedProps & {fallback?: never; FallbackComponent?: never; fallbackRender: typeof FallbackRender;}; now type ErrorBoundaryPropsWithRender = ErrorBoundarySharedProps & {fallback?: never... npmjs.com - Signature changed
withErrorBoundary
The TypeScript types for withErrorBoundary were changed to match the latest forwardRef types, so code that relied on the old typings may now need type fixes. npmjs.com
react-error-boundary 4.0.0 breaking changes
- Removed
ErrorBoundaryPropsWithComponent.onResetKeysChange
ErrorBoundaryPropsWithComponent.onResetKeysChange was removed in react-error-boundary 4.0.0 npmjs.com - Removed
ErrorBoundaryPropsWithFallback.onResetKeysChange
ErrorBoundaryPropsWithFallback.onResetKeysChange was removed in react-error-boundary 4.0.0 npmjs.com - Removed
ErrorBoundaryPropsWithRender.onResetKeysChange
ErrorBoundaryPropsWithRender.onResetKeysChange was removed in react-error-boundary 4.0.0 npmjs.com - Removed
onResetKeys
The onResetKeys prop is merged into onReset, so code using onResetKeys must switch to onReset. github.com - Removed
useErrorHandler
useErrorHandler is replaced by useErrorBoundary, which can trigger an error boundary or dismiss one. Code that throws a given error should throw the value directly instead of passing it to the hook. npmjs.com - Signature changed
ErrorBoundary
Was class ErrorBoundary extends React.Component<React.PropsWithRef<React.PropsWithChildren<ErrorBoundaryProps>>, ErrorBoundaryState>; now class ErrorBoundary extends Component<PropsWithRef<PropsWithChildren<ErrorBoundaryProps>>... npmjs.com - Signature changed
ErrorBoundary.componentDidCatch
Was componentDidCatch(error: Error, info: React.ErrorInfo): void; now componentDidCatch(error: Error, info: ErrorInfo): void. npmjs.com - Signature changed
ErrorBoundary.getDerivedStateFromError
Was static getDerivedStateFromError(error: Error): {error: Error;}; now static getDerivedStateFromError(error: Error): {didCatch: boolean; error: Error;}. npmjs.com - Signature changed
ErrorBoundary.render
Was render(): React.ReactNode; now render(): string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment |... npmjs.com - Signature changed
ErrorBoundary.resetErrorBoundary
Was resetErrorBoundary: (...args: Array<unknown>) => void; now resetErrorBoundary: (...args: any[]) => void. npmjs.com
And 16 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.