News for hackers. Stuff that matters.
Re:How to manage HTML DOM with vanilla JavaScript only? by dmitriid on Thursday April 02, 2020 @03:24PM (#22762644)
> Browser APIs have changed quite a bit in the last 10 years.

They really haven't.

> Yes, the same approaches are still supported, but there have been many additions and modifications to core APIs.

Once again, there really haven't been.

Yes, there are many more APIs in general (audio, touch etc.), but on the whole it's the same old cumbersome poorly designed 90s-Java-style DOM API.

Re:How to manage HTML DOM with vanilla JavaScript only? by jtms on Thursday April 02, 2020 @05:15PM (#22763950)
Just because the APIs remain largely backwards compatible does not mean that they didn't change. Just the fact that querySelector and querySelectorAll was introduced and started actually being usable across all the major browsers is a huge change IMHO.
Re:How to manage HTML DOM with vanilla JavaScript only? by dmitriid on Friday April 03, 2020 @06:35AM (#22767859)
I... I wrote that as my last paragraph:

there are many more APIs in general (audio, touch etc.), but on the whole it's the same old cumbersome poorly designed 90s-Java-style DOM API.

Re:How to manage HTML DOM with vanilla JavaScript only? by danpeddle on Thursday April 02, 2020 @03:53PM (#22762991)
In 2010, browsers supporting rounded corners were considered exotic. It’s totally, totally different now.
Re:How to manage HTML DOM with vanilla JavaScript only? by dmitriid on Friday April 03, 2020 @06:34AM (#22767857)
It's not a change. It's an addition of APIs (css in this case)
Re:How to manage HTML DOM with vanilla JavaScript only? by jtms on Thursday April 02, 2020 @05:10PM (#22763902)
yeah seriously... in 2010 i am pretty sure we were still rounding corners via background images in css