You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
It's great because each function is standalone and hence only a small subset of the whole API is actually imported into the runtime when using the library
In the frontend this has the benefit of being able to apply treeshaking
In the backend, like is the case here, I'd argue that date-fns's approach limits the risk of getting exposed to an npm supply chain attack
Anyways, key point here is that an actively maintained date library should be preferred.
The text was updated successfully, but these errors were encountered:
TimDaub
changed the title
depricate momentjs in favor of a maintained date library
Remove momentjs in favor of a maintained date library
Oct 19, 2021
TimDaub
changed the title
Remove momentjs in favor of a maintained date library
Remove momentjs in favor of an actively maintained date library
Oct 19, 2021
Anyways, key point here is that an actively maintained date library should be preferred.
The text was updated successfully, but these errors were encountered: