eslint-plugin-react-hooks breaking changes
eslint-plugin-react-hooks 7.1.1 (April 17, 2026) is its newest release with breaking changes. The first: Signature changed default. Every breaking API change we have recorded in eslint-plugin-react-hooks on npm: 9 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 7.1.1, released April 17, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 6.0.0 to 7.1.1: 4 breaking changes in 3 versions.
- From 5.0.0 to 7.1.1: 6 breaking changes in 4 versions.
eslint-plugin-react-hooks 7.1.1 breaking changes
- Signature changed
default
Was const plugin: {meta: {name: string; version: string;}; rules: {'exhaustive-deps': {meta: {type: "suggestion"; docs: {description: string; recommended: true; url: string;}; fixable: "code"; hasSuggestions: true; schema: {type: "object"... npmjs.com
eslint-plugin-react-hooks 7.1.0 breaking changes
- Behavior changed
The compiler now reports all errors instead of stopping at the first, and validation of set-state-in-effect and ref usage is stricter, so existing lint runs may show new errors. github.com - Signature changed
default
Was const plugin: {meta: {name: string; version: string;}; rules: {'exhaustive-deps': {meta: {type: "suggestion"; docs: {description: string; recommended: true; url: string;}; fixable: "code"; hasSuggestions: true; schema: {type: "object"... npmjs.com
eslint-plugin-react-hooks 7.0.1 breaking changes
- Signature changed
default
Was const plugin: {meta: {name: string; version: string;}; rules: {'exhaustive-deps': {meta: {type: "suggestion"; docs: {description: string; recommended: true; url: string;}; fixable: "code"; hasSuggestions: true; schema: {type: "object"... npmjs.com
eslint-plugin-react-hooks 6.0.0 breaking changes
- Signature changed
configs
Was const configs: {'recommended-legacy': {plugins: string[]; rules: {'react-hooks/rules-of-hooks': "error"; 'react-hooks/exhaustive-deps': "warn";};}; recommended: {plugins: string[]; rules: {'react-hooks/rules-of-hooks': "error"... npmjs.com - Signature changed
rules
Was const rules: {'rules-of-hooks': {meta: {type: "problem"; docs: {description: string; recommended: true; url: string;};}; create(context: Rule.RuleContext): {onCodePathSegmentStart: (segment: Rule.CodePathSegment) => number... npmjs.com
eslint-plugin-react-hooks 5.0.0 breaking changes
- Renamed
useEvent
The experimental useEvent hook is now called useEffectEvent. Update references to the new name. github.com - Behavior changed
Names like _Button or _component are no longer accepted as components, so hook calls inside them are flagged. Rename such components to start with an uppercase letter. github.com - Behavior changed
The lint rules now flag hook calls in async functions. Move hook calls out of async functions. github.com
Related packages
- react-is
- react-source on RubyGems
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.