Repository navigation
v5.26.3 (2026-10-12)
·
61 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
What's Changed
🐞 Fixes
- An enclosing object literal property key now takes precedence over the outer assignment target when statically known (ex:
const refs = { myRef: useRef(0) }); computed keys with string literals (ex:refs["value"] = useRef(null)) are now checked, and unresolvable computed keys are no longer reported. (#2028) Affected rules:react-naming-convention/context-namereact-naming-convention/id-namereact-naming-convention/ref-name
react-naming-convention/ref-name: immediate dereferences of theuseRefresult through TypeScript type wrappers (ex:(useRef(null) as { current: null }).current,useRef(null)!.current) are no longer reported, extending the #1375 fix. (#2028)
Full Changelog: v5.26.2...v5.26.3
Attestation
https://github.com/Rel1cx/eslint-react/attestations/55109921