I was migrating to the newest version of Biome and noticed that it seems to group in two seemingly unrelated rules into one:
Γ This hook do not specify all of its dependencies.
Γ This hook specifies more dependencies than necessary.
Inside of useExhaustiveDependencies
However, there's a problem with doing so this way.
While does not specify all of its deps
is a rule that's ported over from React's common ESLint rules, specifies more deps than necessary
isn't a rule, as it doesn't break the React Rules of Hooks. Moreover, specifying additional deps is how you're able to get some functionality to work as-expected at times.
Because of this, we should:
specifies more deps than necessary
should be broken into a new rulePay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too