today we continue with useEffect hook, dependencies with useEffect, and setting up the JSON server to fetch!
OK, to start, we should hop into the Home.js.
It should look like this, and we haven't changed anything since the last post:
lines 31–34 is all we are looking at anyways.
Just a refresher, we use the useEffect hook if we want to fire a function after every…