Back to Pull RequestsView on GitHub
#35184Open
Moderate Review
[compiler] Ignore ESLint suppressions when ValidateMemoDeps enabled
by josephsavona•Nov 21, 2025
Summary
This pull request adjusts the React compiler's behavior to correctly handle ESLint suppressions when validating memoization dependencies. Previously, any ESLint suppression would cause the compiler to skip validation, even if the suppression was unrelated to memoization. Now, it selectively ignores suppressions for memoization checks when compiler-level hook validation is enabled, allowing for more accurate and efficient memoization analysis.
Changes
+126 additions-3 deletions
Impact Areas
CompilerMemoizationLinting Integration