3 ms·
Is the well-documented feature the dependency array or the ability to suppress linter rules? The note at the bottom of the documentation section for the depende
by brlewis 6y ago
Is the well-documented feature the dependency array or the ability to suppress linter rules? The note at the bottom of the documentation section for the dependency array recommends using the linter rule: https://reactjs.org/docs/hooks-effect.html#tip-optimizing-performance-by-skipping-effects https://reactjs.org/docs/hooks-effect.html#tip-optimizing-pe...