Rémy Villulles
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

--

--

Rémy Villulles
Rémy Villulles

Written by Rémy Villulles

Fullstack developer, I love learning new technologies and try to stay up to date with the newest features

Responses (1)