github Rel1cx/eslint-react v2.8.1
v2.8.1 (2026-01-29)

13 hours ago

What's Changed

✨ New

  • Function component detection now supports identifying components that don't return a ReactNode but 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

  • Skip unstable value checks when 'use memo'; is present by @Rel1cx in #1441

Full Changelog: v2.8.0...v2.8.1

Don't miss a new eslint-react release

NewReleases is sending notifications on new releases.