React Fetch Handling Errors
In this tutorial, you will learn how to handle errors encountered while communicating with the server. At the end of this tutorial, you will be able to:
- Configure your app to appropriately handle errors encountered while communicating with the server
Handling Errors
- Open ActionCreators.js and update it as follows:
(source: Front-End Web Development with React on Coursera)