News for hackers. Stuff that matters.
Re:You Don't Need MomentJS by ic4l on Tuesday July 23, 2019 @01:04PM (#20508276)
This is lacking context, the main reason for this repo is to provide alternatives due to the actual size of moment.js.

https://github.com/you-dont-need/You-Dont-Need-Momentjs/raw/... https://github.com/you-dont-need/You-Dont-Need-Momentjs

There are still many situations where these alternative solutions will not work. For example timezones.

But in general pulling moment.js in for one method call is pretty ridiculous if it can be replaced and needs to be ran on the clientside.

There are no comments on this comment yet.