github Rel1cx/eslint-react v5.28.6
v5.28.6 (2026-10-22)

2 hours ago

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)
  • 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)

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

Attestation

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

Don't miss a new eslint-react release

NewReleases is sending notifications on new releases.