Do not use lodash just because of 2 functions
See original GitHub issueHello! I think this awesome project can easily get rid of unneeded “lodash” dependency and just implement “random” and “sortBy” functions by itself.
We don’t use lodash in our project, but it still gets into codebase just because of this react-sortable-hoc
.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:6 (1 by maintainers)
Top Results From Across the Web
It's time to let go of lodash - JS.dev Community 👨🏼💻🚀🎓
While lodash offeres a tremendous library of functionality, much of it is no longer required, and the cost of importing lodash into your ......
Read more >you-dont-need/You-Dont-Need-Lodash-Underscore - GitHub
List of JavaScript methods which you can use natively + ESLint Plugin - GitHub - you-dont-need/You-Dont-Need-Lodash-Underscore: List of JavaScript methods ...
Read more >Pure JavaScript Functions as a Replacement for Lodash | by RC
Functional programming typically avoids using mutable state and favors side-effect free functions and immutable data instead. The key point to ...
Read more >14 functions I made to dump lodash and reduce my bundle ...
I just need a function I can debounce, a maximum time to wait and the ability to flush any pending calls or cancel...
Read more >10 Lodash functions everyone should know - Medium
Why use Lodash ? It will help you deal with all types of object and you will save you time by not coding...
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 think you can just import the lodash.random (https://www.npmjs.com/package/lodash.random) which is thinner, or lodash.sortBy.
You can actually chopped any modules from lodash and just import that. I think it will consumed less space.
Removed lodash dependency in 0.7.0