How To Remove useEffect ESLint Warnings in React
without using eslint-disable-line
Published in
4 min readDec 9, 2020
Are you a React developer? Do you use Hooks and functional components? Do you use ESLint to ensure your code does not do anything spooky? If yes, then I am sure that you have run into the exhaustive-deps
ESLint warning while using useEffect
.