Many times I started projects without dates libraries dependencies. Formatting a date as described in your article is fine without a library. But when it comes to manipulating with dates like adding, subtracting, calculating duration - libraries are a real timesaver.
Thanks for your article, we really should keep in mind that date formatting can be done without serving users bunch of unnecessary JS. But I think that if you know from the start that your project will heavily use date calculations, then npm install a date library without a doubt.
It's funny you should say that, because my next article was going to be about manipulating dates without a library 😉
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.