question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

lodash dependency

See original GitHub issue

Looking 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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
timchecommented, Aug 31, 2016

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.

0reactions
arbcommented, Aug 31, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found