3 ms·
Moment.js is one of those libraries to avoid; the bloat....
by chrisweekly 2y ago
Moment.js is one of those libraries to avoid; the bloat....
- aabaker99 2y agoI still like Moment because it offers better control of time zones that aren’t the browsers time zone when compared to the builtin Date APIs. Do you have a recommendation to replace Moment for that use case? I’m hopeful for the future with JavaScript Temporal.
- microflash 2y agodayjs is a similar library that I’ve used to replace Moment with minimal effort.
- g8oz 2y agoA maintainer of moment.js has moved on with an immutable rewrite called luxon.js. Highly recommended. https://github.com/moment/luxon/blob/master/docs/why.md https://github.com/moment/luxon/blob/master/docs/why.md