3 ms·The ESLint rules for hooks enforce adding any values used inside the function to the dependency array.by ricardobeat 7y agoThe ESLint rules for hooks enforce adding any values used inside the function to the dependency array.