# Use react-error-boundary to handle errors in React

DevFeed: [Use react-error-boundary to handle errors in React](<https://devfeed.tech/articles/use-react-error-boundary-to-handle-errors-in-react-51906.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/use-react-error-boundary-to-handle-errors-in-react>)

Published: 2020-07-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [Error Handling](<https://devfeed.tech/topics/error-handling.md>), [runtime errors](<https://devfeed.tech/topics/runtime-errors.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [react](<https://devfeed.tech/tags/react.md>), [runtime-errors](<https://devfeed.tech/tags/runtime-errors.md>)

## AI overview

A tutorial on using react-error-boundary to handle runtime errors in React applications. It explains why ordinary JavaScript error handling does not catch errors during React rendering and shows how error boundaries can provide scoped recovery.

## Source excerpt

How to simplify your React apps by handling React errors effectively with react-error-boundary