DEV Community

Discussion on: Do you still use Lodash and Underscore in 2020?

Collapse
 
blackr1234 profile image
blackr1234 • Edited

I still use Lodash in my personal React project, such as union, filter, find, map and findIndex. I think OP can list some examples showing how one can replace Lodash operations with vanilla ES6, so everyone (incl. JS newbies) can see the similarities and differences.

Some figures show that Lodash performs way better than vanilla JS (correct me if I'm wrong). Also, some think that Lodash utility functions are more readable, so it's not just about functionality. Personally, I think when I use Lodash I write less code.