1 min readMay 24, 2020
There is another reason not to use Arrow functions too much. They are anonymous. Which means that in the stack trace, if you have an error, instead of giving you the right path, the trace will be full of anonymous functions instead. It's harder to debug where functions should (eslint enforces it by default) be named and so, their name is shown in the stacktrace