You probably don’t need that useEffect in your React app

A hard look at React’s most misunderstood feature

Chanon Roy

--

After many years of PR reviews for React code, my most common feedback is the same timeless phrase: “You probably don’t need that useEffect”. Like many other override patterns in software, useEffect gives us an escape hatch for when we need to go against the core principle of what React…

--

--

Chanon Roy

🧑🏻‍💻 I write about tech and programming. I'm also fluent in film references