Hacker News new | ask | show | jobs
by nevon 3518 days ago
You can, but it pretty much is obsolete at this point.

1. `document.querySelector()` and then just modify the DOM however you want.

2. `node.addEventListener()`

3. `fetch()`

There are still things that jQuery provides that aren't as simple to do with the built in functionality, but in most cases, you can get by just fine without pulling in all of jQuery. And in those cases where you can't, there are more focused libraries available for those specific use-cases.