you-dont-need/You-Dont-Need-Lodash-Underscore
View on GitHub ↗ ★ 19,117 JavaScript
List of JavaScript methods which you can use natively + ESLint Plugin
14 mentions on Hacker News by 14 people: 4 stories, 10 comments · first 2016-01-26 · latest 2024-12-04
20082026
-
Some things are easy now, but some things still require multiple lines of code: https://youmightnotneed.com/lodash . If you only need one or two, sure, just write your own, but if you're maintaining a big project... why waste time…
comment by solardev · 2024-12-04 · in Dependency management fatigue, or why I ditched React for Go+HTMX+Templ -
> lodash should just be incorporated into vanilla javascript, as part of its standard library That's already happening. More and more of lodash/underscore/etc's functions are being introduced to Array/Object/String APIs.…
comment by Hedja · 2020-06-29 · in Worrying about the NPM Ecosystem -
Do you take on the entire of Lodash as a dependency? If so, do you use any of the Lodash features not described here?[0] If you use more than described, or if a specific Lodash feature is more performant, you can selectively import[1]. [0]…
comment by whycombagator · 2020-06-16 · in Do Not Follow JavaScript Trends -
I'm not one to prematurely optimize things, but I'd be cautious about blindly copy/pasting some of these solutions unless you want your coworkers to make fun of your O(n^3) set intersection algorithm: array.reduce(function(a, b) { return…
comment by tlrobinson · 2019-08-09 · in You-Dont-Need-Lodash-Underscore -
and https://github.com/you-dont-need/You-Dont-Need-Lodash-Unders...
comment by eswat · 2016-12-09 · in 30-Day Vanilla JavaScript Coding Challenge -
Functions like repeat() still need lodash - it's not supported on IE and Opera: https://github.com/cht8687/You-Dont-Need-Lodash-Underscore#_...
comment by hnskeptik · 2016-07-01 · in Lists of JavaScript methods which you can use natively -
It took me a moment to figure out what this was for: https://github.com/cht8687/You-Dont-Need-Lodash-Underscore/b... Cripes!
comment by bshimmin · 2016-07-01 · in Lists of JavaScript methods which you can use natively -
https://github.com/cht8687/You-Dont-Need-Lodash-Underscore#_... - the Array.prototype.find() method that's suggested has no support on Android's stock browser or Chrome for Android. That's a huge chunk of the browser market, but there's no…
comment by onion2k · 2016-07-01 · in Lists of JavaScript methods which you can use natively