nickjvandyke/eslint-plugin-react-you-might-not-need-an-effect
🙅♂️ Catch unnecessary React effects for simpler, faster, safer code. observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 98
- Release rhythm 98
- Longevity 35
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 3.5
- age_days: 495
- days_rel: 13
- days_push: 12
- n_releases_24m: 15
Adoption not part of the score
1908 stars · 19 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An ESLint (and Oxlint) plugin that detects unnecessary React useEffect calls based on React's 'You Might Not Need an Effect' guidance. It analyzes state, props, refs, and effect timing to flag redundant effects with actionable fixes.
Use cases
- catch unnecessary useEffect calls in React components
- lint derived state anti-patterns in React
- reduce redundant re-renders from effects
- teach new React developers the effects mental model
- enforce React hook best practices in CI
- find setState calls inside effects
When to choose
- you maintain a React codebase using hooks and want to eliminate redundant effects
- you want actionable lint rules with suggestions and documentation links
- you use ESLint flat config or legacy config, or Oxlint
When to avoid
- your project does not use React
- you need general-purpose React linting beyond effects (use eslint-plugin-react or react-hooks)
- you need runtime behavior analysis rather than static linting
Facets
plugin · maturity active
linter developer-tools frontend web-development developer-tools eslint-plugin react-hooks useeffect static-analysis code-quality nodejs javascript
2 sources
- readme: https://github.com/nickjvandyke/eslint-plugin-react-you-might-not-need-an-effect · fetched 2026-08-28 · 9237134e47f3
- registry_npm: https://registry.npmjs.org/eslint-plugin-react-you-might-not-need-an-effect · fetched 2026-08-29 · 832232a8845f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nickjvandyke/eslint-plugin-react-you-might-not-need-an-effect | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="nickjvandyke/eslint-plugin-react-you-might-not-need-an-effect")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem