Articles for the Code Quality tag
-
eslint-plugin-react-you-might-not-need-an-effect: Your Linter Now Reads the React Docs For You
useEffect is the most over-reached-for hook in React. This little plugin catches the moments you grabbed it when you didn't need to, before they ever reach code review.
-
eslint-plugin-react-you-might-not-need-an-effect: The React Docs Page That Learned to Read Your Code
Every React developer has read that famous docs page: You Might Not Need an Effect. But reading and remembering are two different things. This ESLint plugin turns those guidelines into automated, enforceable lint rules that catch unnecessary effects before they cause extra re-renders and tangled logic.