Comment

Comment by TazeTSchnitzel

>So you'll rewrite .addClass() and .removeClass()

Or, you'll use element.classList.add()

>You'll rewrite .ajax() and .when()

XHR isn't really too verbose.

>So you'll rewrite .animate()

Or you'll do elem.style.transition = ... and use elem.addEventListener;

Really, the plain DOM isn't that bad. If you make one or two sugar methods, they'll be far, far, far smaller than jQuery, and probably far faster.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton