Being Honest About Your useEffect dependencies
useEffect is great, it's my absolute favourite Hook but it's got one major rule: BE HONEST ABOUT YOUR DEPENDENCIES. If you're dishonest your linting will kick in and yell at you. I know what you're thinking "what if I want to mimic ComponentDidMount"...
glamboyosa.hashnode.dev