Conversation
Notices
-
Embed this notice
@Arcana I would rather use vanilla js than jquery, for one thing. js has mostly caught up to jquery without plugins.
reactivity, automatically-updating data on the page is really really nice and jquery doesn't do that. also jquery doesn't play nice with any of the newer libraries. A couple years ago I was working on a 10grans store (basically finished but never launched lol). and I bought a 4 dollar template that turned out to use JQuery. It was an enormous pain in the ass to make jquery and vue.js work together, they are conceptual mismatches with each other.
-
Embed this notice
I used jQuery when it first came out and because beaucoup websites use it whether it's needed or not. But Element.querySelector() will do 90% of what jQuery does and more efficiently/predictably without obfuscating access to the underlying objects.