Skip to content

Conversation

@leeguooooo
Copy link

Fixes #20262

Summary

  • treat explicit undefined dependencies for non-effect hooks as intentional

Testing

  • yarn workspace eslint-plugin-react-hooks test -- --runTestsByPath tests/ESLintRuleExhaustiveDeps-test.js

@meta-cla meta-cla bot added the CLA Signed label Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: react-hooks/exhaustive-deps false postive when given undefined as deps

1 participant