Back to Pull RequestsView on GitHub
#35185Open
Simple Review
[compiler] Allow nonreactive stable types as extraneous deps
by josephsavona•Nov 21, 2025
Summary
This pull request modifies the React compiler to correctly handle cases where non-reactive but stable types are used as dependencies in hooks. It aligns the validation logic for dependencies with existing utility functions, reducing false positives in the exhaustive-deps rule.
Changes
+282 additions-3 deletions
Impact Areas
CompilerLintingHooks