What's Changed
🐞 Fixes
react-x/immutability: Exempted ref mutations via a naming heuristic — any object whose identifier isrefor ends withRefis treated as a mutable ref and skipped from immutability checks. This fixes false positives when mutatingRefObject<T>values received as props (#1752, #1751).react-x/immutability: AddednoRefLikeStateNamediagnostic to prevent state variables from being namedrefor ending withRef, which would otherwise bypass the ref exemption heuristic (#1752).
📝 Documentation
- Fixed the full rule name in
react-jsx/no-key-after-spreaddocumentation (jsx/no-key-after-spread→jsx-no-key-after-spread) (#1750).
Full Changelog: v5.7.2...v5.7.3