We talk about how to implement a loading bar and handling fetch errors in React.

our “home” component should look like this at this point:

First up, we are going to add a piece of state for the loading text, like so:

we add the “isloading” state and make the initial state for that, set to “true”…