-
-
Notifications
You must be signed in to change notification settings - Fork 21
Description
While doing the course, I read up on Moment.js and found out the library is legacy/in maintenance mode. As quoted from the project maintainers:
"We now generally consider Moment to be a legacy project in maintenance mode. It is not dead, but it is indeed done."
I think it's important to inform readers of this because once they finish the course, they might go off to start their own projects and implement this library where the project status recommends choosing a new library as an alternative in most cases.
We should keep the existing code snippet for how to implement Moment as it still exists for backwards compatibility and the maintainers will address any major security concerns associated with it. But modern implementations need to be considered.
There are a few that come to mind (but not limited to):
-Just use Date()
-Luxon
-Day.js
These alternatives might be short lived however as once Temporal becomes a part of native JavaScript, it apparently will be able to replace current solutions.