News for hackers. Stuff that matters.
Re:How to manage HTML DOM with vanilla JavaScript only? by yitianjian on Thursday April 02, 2020 @01:36PM (#22761460)
I also feel modern web apps are just much more complex than those from the jQuery era. So codebases have to do a lot more. It's hard to find a 1:1 mapping, as we just didn't expect as much out of the web in those days.
Re:How to manage HTML DOM with vanilla JavaScript only? by TedDoesntTalk on Thursday April 02, 2020 @04:03PM (#22763102)
Complete BS. Not true at all. the jquery era had ajax with dynamic dom updates, dynamic svg, css, and many things we have today except for websockets, web usb, mic, camera, and other devices. the difficulty was more around each browser implementing things differently. and css was a nightmare. just to center something horizontally or vertically (or both) took patience.
Re:How to manage HTML DOM with vanilla JavaScript only? by girvo on Thursday April 02, 2020 @05:50PM (#22764269)
It’s not “Complete BS.” — just because we had those features does not mean most businesses used them to the same extent we do today. I was deep in the front-end weeds in 2007 and onwards, and while I may have been doing some neat stuff then, the complexity pales in comparison to the sheer amount of business logic that now lives client-side.
Re:How to manage HTML DOM with vanilla JavaScript only? by TedDoesntTalk on Saturday April 04, 2020 @08:49AM (#22777933)
That's because you have 13 more years of experience now. Or you like to revise history.