Sourced from eslint-plugin-react-hooks's releases.
eslint-plugin-react-hooks@7.1.0 (April 16, 2026)
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.
- Add ESLint v10 support. (
@azat-ioin #35720)- Skip compilation for non-React files to improve performance. (
@josephsavonain #35589)- Fix exhaustive deps bug with Flow type casting. (
@jorge-cabin #35691)- Fix
useEffectEventchecks in component syntax. (@jbrown215in #35041)- Improved
set-state-in-effectvalidation with fewer false negatives. (@jorge-cabin #35134,@josephsavonain #35147,@jackpopein #35214,@chesnokov-tonyin #35419,@jsleitorin #36107)- Improved ref validation for non-mutating functions and event handler props. (
@josephsavonain #35893,@kolvianin #35062)- Compiler now reports all errors instead of stopping at the first. (
@josephsavonain #35873–#35884)- Improved source locations and error display in compiler diagnostics. (
@nathanmarksin #35348,@josephsavonain #34963)
Sourced from eslint-plugin-react-hooks's changelog.
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-effectdetection, improved ref validation, and more helpful error reporting.
- Add ESLint v10 support. (
@azat-ioin #35720)- Skip compilation for non-React files to improve performance. (
@josephsavonain #35589)- Fix exhaustive deps bug with Flow type casting. (
@jorge-cabin #35691)- Fix
useEffectEventchecks in component syntax. (@jbrown215in #35041)- Improved
set-state-in-effectvalidation with fewer false negatives. (@jorge-cabin #35134,@josephsavonain #35147,@jackpopein #35214,@chesnokov-tonyin #35419,@jsleitorin #36107)- Improved ref validation for non-mutating functions and event handler props. (
@josephsavonain #35893,@kolvianin #35062)- Compiler now reports all errors instead of stopping at the first. (
@josephsavonain #35873–#35884)- Improved source locations and error display in compiler diagnostics. (
@nathanmarksin #35348,@josephsavonain #34963)