Error Handling

Let's catch some errors in your application and debug them!

We'll cover the following...

In this lesson, we introduce an efficient solution to add error handling for the application that we are building in case of an erroneous API request. We must know the necessary building block to introduce error handling in React: local state and conditional rendering. The error is just another state, which we store in the local state and display with conditional rendering in the component. ...

Access this course and 1400+ top-rated courses and projects.