Re:Day.js Fast 2kB alternative to Moment.js with the same mo...
by linecept on Sunday October 09, 2022 @01:06AM
(#33138420)
Why is this good/better compared to date-fns?
[ Parent
| on HN ]
Re:Day.js Fast 2kB alternative to Moment.js with the same mo...
by benknight87 on Sunday October 09, 2022 @01:08AM
(#33138429)
Smaller bundle size, similarity to moment.js
As a dev who’s used all three, is there a massive difference? Not really. Stick with what you like (though moment is no longer maintained so maybe not that)
Re:Day.js Fast 2kB alternative to Moment.js with the same mo...
by RedShift1 on Sunday October 09, 2022 @01:47AM
(#33138553)
Moment is still being maintained, but will not receive any new features.
Re:Day.js Fast 2kB alternative to Moment.js with the same mo...
by code_runner on Sunday October 09, 2022 @09:48AM
(#33140961)
Moment’s own docs tell you to not use moment
Re:Day.js Fast 2kB alternative to Moment.js with the same mo...
by 1123581321 on Sunday October 09, 2022 @02:15AM
(#33138662)
date-fns doesn't have the best function naming scheme.
Re:Day.js Fast 2kB alternative to Moment.js with the same mo...
by simon--poole on Sunday October 09, 2022 @04:33AM
(#33139124)
Having used both moment and Luxon in the past, the date-fns API makes no logical sense to me at all.