In a React Native useEffect
it is acceptable to use an empty dependency array (and this is often done intentionally for legitimate reasons).
In useEffect, what's the difference between providing no dependency array and an empty one?
Yet Linter keeps complaining and suggesting to either add certain parameters as elements of the dependency array or to remove it. Removing the dependency array is not an option for me. Should I accept the Linter suggestion and add a long list of items to the dependency array? Or is there an easy way I change the Linter settings?