News for hackers. Stuff that matters.
Re:You may not need Moment.js by throw_m239339 on Saturday September 18, 2021 @06:56PM (#28580092)
> its become standard so everyone learns one interface and development is normalized across shops

An industry using the exact same framework (for a time, it never lasts) doesn't make that framework a "standard". jQuery was also "a standard" by the same logic.

edit: I'm talking about web standards here, which is the DOM is part of. After the inane amount of hate jQuery got with hit pieces, JS developers were quick running to an even more intrusive and bloated framework that certainly was not "vanilla JS" either, the irony is somehow lost somewhere...

Re:You may not need Moment.js by 8note on Saturday September 18, 2021 @06:58PM (#28580108)
A standard choice, rather than run by a standards committee
Re:You may not need Moment.js by throw_m239339 on Saturday September 18, 2021 @07:04PM (#28580144)
You don't need React, just like you didn't need jQuery, just like you didn't need AngularJS. None of these are standards in anyway but only jQuery was problematic? Just no...
Re:You may not need Moment.js by imbnwa on Saturday September 18, 2021 @07:16PM (#28580224)
The dominance of React or Angular is largely a function of Facebook and Google having more powerful marketing machines and resources than John Resig.
Re:You may not need Moment.js by dgb23 on Sunday September 19, 2021 @11:29AM (#28585082)
JQuery solved a problem that was very real when we adopted it. But that problem doesn’t exist anymore, since browsers extended and refined their API.

However, isomorphic HTML generation/templating and state management are still unsolved from a browser native perspective.

Re:You may not need Moment.js by imbnwa on Saturday September 18, 2021 @06:59PM (#28580116)
Yes, thank you