loading...

Common JS libraries and tools

ptasker profile image Peter Tasker ・1 min read

Something I wish was more common in the JavaScript ecosystem - a list of standard libraries and tools that are 'up to date' and that everyone uses.

It can be difficult to digest what is 'standard' without doing a bunch of reading.

For example, using the immer (or another immutable library) with Redux is basically a necessity with complex state.

What are your 'standard' JS libraries and/or tools?

Discussion

pic
Editor guide
Collapse
adamcosi profile image
Adam

Libraries/packages I find useful are:

(in no particular order or in anyway complete)

Utility:

Date:

DOM/Manipulation:


LoDash and/or Ramda are somewhat indispensable, although they are not the only players in that space, I tend to resort to either of those two for most projects.

Date-fns and DayJS provide a good alternative to MomentJS and there's a few others in this space also worthy of a look.

Cash, a good alternative to jQuery, when you don't have to use jQuery by force (not that there is anything wrong with jQuery, it has its place and purpose and serves them well).

jQuery MatchHeight is something I use reguarly in jQuery based builds, for example WordPress. It's a nice little plugin for equal height columns/rows.

I ought to dig through my archives sometime and put together a more formal list of alternatives. There's quite a lot out there in the ecosystem.

Collapse
niorad profile image
Antonio Radovcic

jQuery is falling out of favor but it‘s still widespread and definitely a standard and up-to-date.

Lodash, especially for templating and debouncing/throttling.