Javascript utility libraries to know in 2018
I love moment, but it's age is starting to show.<p>The way it's designed makes code splitting and tree shaking extremely difficult, and the difficulty removing large chunks of the library (i'm looking at you locales) is annoying at best. It's also a pretty heavy library on it's own anyway, as it needs to implement quite a lot of code for legacy browsers that isn't really needed if you are only targeting evergreen browsers (and possibly IE 10-11).<p>As an alternative, I always recommend "date-fns"[0]. it got a mention in the article, but not nearly enough of one!<p><a href="https://github.com/date-fns/date-fns" rel="nofollow">https://github.com/date-fns/date-fns</a>