Hey everyone! I was looking to see if anyone could please give me any feedback regarding this project? Thank you very much in advance!
Some questions that came to mind while making the project(feel free to answer):
- Does anyone know a free working quote API? I couldn’t find a reliable one so I resorted to using a local json file.
- When I switched to a local database, I got a warning regarding the React Hook useEffect. Does anyone know how to get rid of this warning?
Line 36:6: React Hook useEffect has a missing dependency: 'displayQuote'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Edit: I somewhat resolved issue 2 with a solution from stackOverflow.
I put this in my useEffect to get rid of the warning in the console.
// eslint-disable-next-line