I'm following the Router 6 course, which consists of designing a Van rental website.
But there's a part (23 - Coding the Sad Path - Error handling) where Bob teaches how to catch errors inside a useEffect.
To simulate these errors Bob generates a problem in requesting information from all vans ("/api/vans"), inside the server.js file.
What is expected is that with this error, my code manages to catch the error within the try catch but that is not what happens and i dont know why. 
My Repo Link: https://github.com/VicktorMS/VanLife-App
Setup to install repo:
1 - clone and npm i on terminal
2 - npm start && npm run dev on terminal