nickjvandyke/eslint-plugin-react-you-might-not-need-an-effect
Some data may be outdated โ see provenance labels.
๐ โโ๏ธ Catch unnecessary React effects for simpler, faster, safer code. observed ยท 2026-09-23
Health v2 ยท maintenance only
80/100
- Activity 90
- Release rhythm 91
- Longevity 38
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) โ computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 3.5
- age_days: 543
- days_rel: 61
- days_push: 61
- n_releases_24m: 15
Adoption not part of the score
1920 stars ยท 19 forks observed ยท 2026-09-23
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-09-23 ยท 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 | 80 |
For agents
markdown ยท JSON ยท MCP: product_card(name="nickjvandyke/eslint-plugin-react-you-might-not-need-an-effect")
Data as of 2026-10-19T08:05:51.212177+00:00 ยท Report a problem