You don’t (may not) need Moment.js

A good walk-thru of some of the javascript replacements of good old dead Moment.js

If you are not using timezone but only a few simple functions from moment.js, this might bloat your app, and therefore is considered overkill. dayjs has a smaller core and has very similar APIs so it makes it very easy to migrate. date-fns enables tree-shaking and other benefits so that it works great with React, Sinon.js, and webpack, etc.

You don’t (may not) need Moment.js