Remix.run Logo
SchemaLoad 13 hours ago

I agree the JS standard library includes most of the stuff you need these days, rendering jquery and half of lodash irrelevant now. But there's still a lot of useful utilities in lodash, and potentially a new project could curate a collection of new, still relevant utilities.

josephg 12 hours ago | parent [-]

Can you give some examples? I’ve written js / ts for 10-15 years and I’ve never reached for lodash in my life.

epicureanideal 11 hours ago | parent [-]

_.any, some, every, keyBy.

skrebbel 10 hours ago | parent [-]

_.any doesn’t seem to exist.

Some and every are also in JS (with the same names even!).

keyBy is just Array.map -> Object.fromEntries

dsego 7 hours ago | parent | next [-]

It was more useful before when browsers didn't support array.map and fromEntries. That's the origin of all these libraries, but browsers caught up. Things like keyBy, groupBy, debounce, uniqueId, and some others, are still useful.

8 hours ago | parent | prev [-]
[deleted]