What's Changed
✨ New
- Function component detection now supports identifying components that don't return a
ReactNodebut call React Hooks by @Rel1cx in #1438
The function in below example will be detected as a function component in relevant rules:function App() { useEffect(() => {}, []); }
🐞 Fixes
Full Changelog: v2.7.4...v2.8.0