eslint-plugin-react-hooks
7.1.1 · 17 Apr 2026MIT116.1M / weekRepositoryHomepagenpmAtom feed
7.1.1 is the newest release of 7.x.
In short
1 new2 fixed5 changed
Release note
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.
Skip compilation for non-React files to improve performance. (@josephsavona in #35589)
Fix exhaustive deps bug with Flow type casting. (@jorge-cab in #35691)
Fix
useEffectEventchecks in component syntax. (@jbrown215 in #35041)Improved
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)Improved ref validation for non-mutating functions and event handler props. (@josephsavona in #35893, @kolvian in #35062)
Compiler now reports all errors instead of stopping at the first. (@josephsavona in #35873–#35884)
Improved source locations and error display in compiler diagnostics. (@nathanmarks in #35348, @josephsavona in #34963)