github Rel1cx/eslint-react v3.0.0-rc.2
v3.0.0-rc.2 (2026-03-13)

latest release: v3.0.0-rc.3
8 hours ago

What's Changed

✨ New

  • react-x/prefer-set-state-callback: New rule that enforces using callback form of setState when the new state is computed from the previous state. Closes #1289. (#1610, #1613)
  • react-x/unstable-rules-of-state: New experimental rule that consolidates state-related validations including prefer-set-state-callback. (#1613)

🐞 Fixes

  • react-x/use-memo: Fixed false positive in arrow functions. Fixes #1611. (#1612)

Full Changelog: v3.0.0-rc.1...v3.0.0-rc.2

Don't miss a new eslint-react release

NewReleases is sending notifications on new releases.