lodash dependency
See original GitHub issueLooking through the code, the majority of lodash usage is extremely basic, most of it is just things like isFunction
and isObject
. I’m curious if there has been any discussion about dropping the lodash dependency entirely? Seems like a pretty large burden just for basic type checking functions.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
lodash - npm
Lodash modular utilities.. Latest version: 4.17.21, last published: 2 years ago. Start using lodash in your project by running `npm i ...
Read more >Lodash
A JavaScript utility library delivering consistency, modularity, performance, & extras.
Read more >Don't Use Lodash Per-Method-Packages - Medium
You add npm i lodash as a dependency as that adds amazing helper functions to your development circle and improves your velocity.
Read more >lodash/package.json at master - GitHub
A modern JavaScript utility library delivering modularity, performance, & extras. - lodash/package.json at master · lodash/lodash.
Read more >lodash 4.17.21 - NuGet
Version Downloads Last updated
4.17.21 96,139 3/10/2021
4.17.11 206,446 2/27/2019
4.17.10 142,742 4/26/2018
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve just seen that Redux is also using lodash. So lodash will be installed and bundled anyway if you are using Redux in your project.
Imo lodash has also become a standard library and as I said above, it gives us safety that things are working. It is also known to be performant out of the box and makes the code more readable, so I don’t think that we are dropping lodash completely except for the things that can also be written natively.
I didn’t realize redux was using it. Bummer. Well with that in mind it would make sense to leave lodash in since it’s already sort of part of the ecosystem.