← All tags

ESLint

1 post

  • Eslint Enforce Named Function In Useeffect
    · 2 min read

    Anonymous functions in useEffect show up as 'Anonymous function' in stack traces. Three ways to name your effect functions: a plugin, a rule, or a pattern.