Closed dcallus closed 2 years ago
This is more efficient for react. turn off prefer arrows rule in eslint.
This is incorrect. Arrow functions should only be avoided in the actual render part of the components as far as I can tell. And Eslint prefers it, so it'll do :)
This is more efficient for react. turn off prefer arrows rule in eslint.