Post Syndicated from coogle original https://lwn.net/Articles/831556/rss
Moment.js, the de facto standard
JavaScript library for date and time manipulation, has announced that “we
would like to discourage Moment from being used in new projects going
forward.” The project cited multiple reasons for the recommendation.
The first is that moment objects are mutable; another is the
unnecessarily large size of the library when compared to other
internationalization and time-zone support options available to modern
browsers. According to the post, “we now generally consider Moment to
be a legacy project in maintenance mode. It is not dead, but it is indeed
done.” The project offers multiple recommendations of alternative
options, including “the evolution of Moment“, Luxon, authored by long-time Moment.js
contributor Isaac Cambron.