Note: 7.1.0 accidentally removed the component-hook-factories rule, causing errors for users who referenced it in their ESLint config. This is now fixed.
Add deprecated no-op component-hook-factories rule for backwards compatibility. (@mofeiZ in #36307)
This release adds ESLint v10 support, improves performance by skipping compilation for non-React files, and includes compiler lint improvements including better set-state-in-effect detection, improved ref validation, and more helpful error reporting.
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [eslint-plugin-react-hooks](https://react.dev/) ([source](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks)) | devDependencies | patch | [`7.1.0-canary-fd524fe0-20251121` → `7.1.1`](https://renovatebot.com/diffs/npm/eslint-plugin-react-hooks/7.1.0-canary-fd524fe0-20251121/7.1.1) |
---
### Release Notes
<details>
<summary>facebook/react (eslint-plugin-react-hooks)</summary>
### [`v7.1.1`](https://github.com/facebook/react/blob/HEAD/packages/eslint-plugin-react-hooks/CHANGELOG.md#711)
[Compare Source](https://github.com/facebook/react/compare/eslint-plugin-react-hooks@7.1.0...eslint-plugin-react-hooks@7.1.1)
**Note:** 7.1.0 accidentally removed the `component-hook-factories` rule, causing errors for users who referenced it in their ESLint config. This is now fixed.
- Add deprecated no-op `component-hook-factories` rule for backwards compatibility. ([@​mofeiZ](https://github.com/mofeiZ) in [#​36307](https://github.com/facebook/react/pull/36307))
### [`v7.1.0`](https://github.com/facebook/react/blob/HEAD/packages/eslint-plugin-react-hooks/CHANGELOG.md#710)
[Compare Source](https://github.com/facebook/react/compare/fef12a01c826ce5b8458e82240c659bf51108a46...eslint-plugin-react-hooks@7.1.0)
This release adds ESLint v10 support, improves performance by skipping compilation for non-React files, and includes compiler lint improvements including better `set-state-in-effect` detection, improved ref validation, and more helpful error reporting.
- Add ESLint v10 support. ([@​azat-io](https://github.com/azat-io) in [#​35720](https://github.com/facebook/react/pull/35720))
- Skip compilation for non-React files to improve performance. ([@​josephsavona](https://github.com/josephsavona) in [#​35589](https://github.com/facebook/react/pull/35589))
- Fix exhaustive deps bug with Flow type casting. ([@​jorge-cab](https://github.com/jorge-cab) in [#​35691](https://github.com/facebook/react/pull/35691))
- Fix `useEffectEvent` checks in component syntax. ([@​jbrown215](https://github.com/jbrown215) in [#​35041](https://github.com/facebook/react/pull/35041))
- Improved `set-state-in-effect` validation with fewer false negatives. ([@​jorge-cab](https://github.com/jorge-cab) in [#​35134](https://github.com/facebook/react/pull/35134), [@​josephsavona](https://github.com/josephsavona) in [#​35147](https://github.com/facebook/react/pull/35147), [@​jackpope](https://github.com/jackpope) in [#​35214](https://github.com/facebook/react/pull/35214), [@​chesnokov-tony](https://github.com/chesnokov-tony) in [#​35419](https://github.com/facebook/react/pull/35419), [@​jsleitor](https://github.com/jsleitor) in [#​36107](https://github.com/facebook/react/pull/36107))
- Improved ref validation for non-mutating functions and event handler props. ([@​josephsavona](https://github.com/josephsavona) in [#​35893](https://github.com/facebook/react/pull/35893), [@​kolvian](https://github.com/kolvian) in [#​35062](https://github.com/facebook/react/pull/35062))
- Compiler now reports all errors instead of stopping at the first. ([@​josephsavona](https://github.com/josephsavona) in [#​35873](https://github.com/facebook/react/pull/35873)–[#​35884](https://github.com/facebook/react/pull/35884))
- Improved source locations and error display in compiler diagnostics. ([@​nathanmarks](https://github.com/nathanmarks) in [#​35348](https://github.com/facebook/react/pull/35348), [@​josephsavona](https://github.com/josephsavona) in [#​34963](https://github.com/facebook/react/pull/34963))
### [`v7.1.0-canary-fef12a01-20260413`](https://github.com/facebook/react/compare/fd524fe02a86c3e92a207d90da970941320f337f...fef12a01c826ce5b8458e82240c659bf51108a46)
[Compare Source](https://github.com/facebook/react/compare/fd524fe02a86c3e92a207d90da970941320f337f...fef12a01c826ce5b8458e82240c659bf51108a46)
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODQuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
7.1.0-canary-fd524fe0-20251121→7.1.1Release Notes
facebook/react (eslint-plugin-react-hooks)
v7.1.1Compare Source
Note: 7.1.0 accidentally removed the
component-hook-factoriesrule, causing errors for users who referenced it in their ESLint config. This is now fixed.component-hook-factoriesrule for backwards compatibility. (@mofeiZ in #36307)v7.1.0Compare Source
This release adds ESLint v10 support, improves performance by skipping compilation for non-React files, and includes compiler lint improvements including better
set-state-in-effectdetection, improved ref validation, and more helpful error reporting.useEffectEventchecks in component syntax. (@jbrown215 in #35041)set-state-in-effectvalidation with fewer false negatives. (@jorge-cab in #35134, @josephsavona in #35147, @jackpope in #35214, @chesnokov-tony in #35419, @jsleitor in #36107)v7.1.0-canary-fef12a01-20260413Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
659a69c525tod2218bd7c8d2218bd7c8toad917d7545ad917d7545to3eedfbe8d73eedfbe8d7tod15989d247d15989d247toc1960ce2fac1960ce2fato2a7ca317062a7ca31706to2325f738f92325f738f9tod094549cb1d094549cb1to88fbed00b588fbed00b5tobf0c0456b9bf0c0456b9to0a279051710a27905171to5c63b5289e5c63b5289eto9ed2d72d599ed2d72d59to906b3ca685906b3ca685tof50255ee2df50255ee2dto535ee5fac8View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.