Closed creativemind1 closed 2 years ago
How can we use react-hooks/exhaustive-deps eslint plugin while using use-deep-compare-effect? Right now it's not throwing any warnings/errors if the required dependencies are missing in the method.
You have to modify your ESLint configuration, so that the rule is triggered on other hooks other than the built-in ones. See documentation here.
How can we use react-hooks/exhaustive-deps eslint plugin while using use-deep-compare-effect? Right now it's not throwing any warnings/errors if the required dependencies are missing in the method.