---
url: /docs/guide/usage/linter/rules/react/exhaustive-effect-dependencies.md
---

### What it does

Validates that effect dependency arrays are exhaustive and contain no
extraneous values.

Powered by the React Compiler, which runs once per file and is shared
with the other React Compiler rules. Port of
`react-hooks/exhaustive-effect-dependencies`.

### Why is this bad?

Missing effect dependencies capture stale values from a previous
render; extraneous dependencies re-fire the effect needlessly.

## How to use

## Version

This rule was added in v1.79.0.

## References
