Fixing react-hooks/exhaustive-deps warnings.
Describe the bug
Would be great if we could fix the react-hooks/exhaustive-deps
warnings shown in the console .
To Reproduce
Just open your console after npm I && npm start
Expected behavior The console should be clear of these warnings.
Additional context
Fixing this would mean reading up useEffect
and how their dependencies work. Here's a nice little guide https://overreacted.io/a-complete-guide-to-useeffect/