|
|
|
|
|
by __jem
1882 days ago
|
|
Not changing `this` is a huge benefit that shouldn't be ignored. Especially when you're programming in a more functional style, it makes sense to default to arrow functions because you never want to engage in `this` shenanigans anyway. So, yes, I'd say it's a pretty common idiom in the JS community to replace "normal" function declarations. |
|
side-note: Most of my JS experience is writing userscripts for myself, so I definitely do my share of 'this' shenanigans.