What's Changed
✨ New
- Added
react-web-api/no-leaked-intersection-observerrule to prevent leakedIntersectionObserverinstances in components and hooks, enabled aswarnin therecommendedpreset (#1841, #1868).
🐞 Fixes
react-web-api/no-leaked-intersection-observer,react-web-api/no-leaked-resize-observer: Report whendisconnectis only called inside the observer's own callback, since the callback may never run if the component unmounts before the element intersects or resizes (#1872).
🏗️ Internal
- Improved CI configuration and updated
SECURITY.mddocumentation (#1871). - Bumped
fumadocs-coreandfumadocs-uito16.10.1.
New Contributors
Full Changelog: v5.8.19...v5.9.0
Attestation
https://github.com/Rel1cx/eslint-react/attestations/31020962