You don’t need You-Dont-Need-Lodash-Underscore #356
SevenOutman
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
One attracting part of this repo is that it teaches you how to compose lodash methods yourself - although you could as well refer to the original lodash repo which is also on GitHub.
When some of these functionalities are going to be reused up to 3 times, you may want to wrap them as util functions, and you will gradually have a collection of handy util functions - which happens to be a subset of the tree-shakable lodash that you used to be using with one simple import. Yes, the reason I use lodash is that I don't have to repeatedly recite these compositions.
I'm not trying to say that this repo is then useless - it's not, the implementation it demos are different from lodash and are more modern, which encourages people to stay up to date with latest ES capabilities. But I feel it's kind of hyping with this conclusive title. No wonder that people are raising issues like #355.
I would like to remind best-practice chasers not to be scared simply because the title goes "you don't need", and bother getting rid of lodash when you actually feel comfortable using it.
Beta Was this translation helpful? Give feedback.
All reactions