3 ms·
> Native DOM APIs are a lot nicer than they used to be. You must be joking, Mr. jrajav :) Native DOM APIs are just as bad as they always were. Because they ar
by troupo 3y ago
> Native DOM APIs are a lot nicer than they used to be.
You must be joking, Mr. jrajav :)
Native DOM APIs are just as bad as they always were. Because they are stuck in the 90s era of heavy imperative APIs.
There are a handful new additions that are somewhat nice, but all of them either underdesigned, or with warts you need to be aware of (querySelector, querySelectorAll and native fetch come to mind).
Building a UI from scratch with them is just as cumbersome and awkward as it was in the early 2000s, and you'll end up re-implementing half of jQuery at least in the process.