What's Changed
✨ New
- Function component detection now supports identifying components that don't return a
ReactNodebut have a'use memo'or'use no memo'directive by @Rel1cx in #1440
The function in below example will be detected as a function component in relevant rules:function App() { "use memo"; } function App() { "use no memo"; }
🐞 Fixes
Full Changelog: v2.8.0...v2.8.1