Ravenous part 4 - my solution with added features

If anyone is interested, here is my final solution. Added the following:

  • Coded with React Hooks instead of using classes

  • Search bar options are sorted without making a new fetch to the API

  • Added loading animation while the response gets completed

  • Added link to the restaurants on Yelp

I think that’s it. If you have any feedback, I’m glad to hear it.

Here is the repo: https://github.com/guvarallo/ravenous

Hi there,
I loved your version. I copied it to better understand hooks and I noticed that you duplicated some code in BusinessList.js I tried to remove the first part of the conditional and it worked. As a newbie I don’t know if it’s alright to change that part. Tell me if you like the changes.