Stop Using useEffect for Everything. Seriously.
If I review a Junior Developer's PR, and I see 15 useEffect hooks in a single component, I know I'm about to see a bug.
useEffect is the Swiss Army Knife of React. It’s powerful, versatile, and easy to use. But just because you can use a knife to op...
frankoge.com3 min read