Comment

Comment by charrondev

I appreciate the clearer naming of the built in methods.

- `document.querySelector` vs `$`. - `element.addEventListener` vs `$element.on`

JQuery really has some confusing behaviour too. JQuery sets the target of the event as `this` inside of the method. Native makes it an event property.

parent charrondev 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton