Skip to content

v5.28.6 (2026-10-22)

Choose a tag to compare

@github-actions github-actions released this 22 Oct 12:49
· 9 commits to main since this release
Immutable release. Only release title and notes can be modified.
558d8fd

What's Changed

🐞 Fixes

  • react-x/set-state-in-effect: the ref-derived parameter exemption now also applies to helpers wrapped in useCallback (ex: measure(ref.current) where measure = useCallback((el) => { setWidth(el.offsetWidth); }, [])). (#2065) Thanks to @amhunt!
  • react-x/set-state-in-effect: a helper call behind a ref-derived guard (if, ternary, short-circuit, or early return) now exempts the setState calls it reaches, as a setState written in its place would be (ex: if (!anchorRef.current) return; commitPosition(0, true);); call sites are judged individually. (#2065) Thanks to @amhunt!

New Contributors

  • Andrew Hunt (@amhunt) made their first contribution in #2065.

Full Changelog: v5.28.5...v5.28.6

Attestation

https://github.com/Rel1cx/eslint-react/attestations/58640025