4 ms·
Is there some kind of summary available somewhere of what features are “unique” to jQuery (or at least significantly easier), and what features are now generall
by hnarn 3y ago
Is there some kind of summary available somewhere of what features are “unique” to jQuery (or at least significantly easier), and what features are now generally available as vanilla JS or CSS?
I’m not a JS developer and I just have a basic understanding of what jQuery is used for, so I’d be interested in seeing some kind of historical timeline, both to better understand why jQuery was originally created, and to understand what purpose it might fill today (legacy dependencies excluded).
- iKlsR 3y agohttps://youmightnotneedjquery.com/ https://youmightnotneedjquery.com/
- retrochameleon 3y agoPerfect
- adhesive_wombat 3y agoQuite a feel of those seem like while you don't need jQuery (so the site is indeed actually named), it's still often easier. Doubly so when you consider that the non-jQuery methods don't always chain together. Admittedly I'm usually using it in places where loading the extra library is not an issue, so if you're really going for slimline, then sure.
- rchaud 3y agoI've always thought that about this site. If they were trying to ease people off jQuery, showing the vanilla JS equivalent side by side is not going to have the desired impact!
- lofaszvanitt 3y agoThis site perfectly shows why jQuery still rocks.
- open-paren 3y agoOff the top of my head, jQuery has some unique selectors that aren't replicated in vanilla CSS, like :eq()