3 ms·
> jQuery is used on 83% of all websites; There are a lot of websites I made in the past and they are still online and many of them use jQuery, but I don't need
by mastazi 6y ago
> jQuery is used on 83% of all websites;
There are a lot of websites I made in the past and they are still online and many of them use jQuery, but I don't need to check Stackoverflow in relation to those websites, because I'm no longer working on them (and in most cases no one else does either, they just happily keep running unmodified). All of those are part of that 83% that you mention.
Stackoverflow is a Q&A websites for developers so IMHO it should focus on tech that is currently in use on actively developed systems.
- jakelazaroff 6y agoEven if only 10% of jQuery websites are maintained, and every single React website is, there are still almost twice as many actively developed websites using jQuery than React.
- mastazi 6y agoThat's a fair point, I didn't think about it that way.
- adjkant 6y agoSee my comment, and actually with that 10% number it doesn't hold true with only 50% of the logic applied. 50/10 vs 4*(unmaintained rate) + undercounting (possibly a large majority, possibly small) is probably React winning out
- cosmotic 6y agoI still use jquery actively. Without substantial work and complexity, a typical react site's initial page load still requires an enormous javascript chunk for anything to show on the screen. When I notice a site I'm using is slow, unresponsive (interactivity wise), or buggy, more often than not the react dev extension is lit up. React (and ecosystem) may represent the future but they still have a lot of growing pains to overcome before totally replacing jquery.
- mastazi 6y agoI also use jQuery from time to time and I don't have anything against it, my point was not related to jQuery. PS from your comment it sounds like you could be interested in Vue, specifically using Vue standalone without npm/webpack e.g. https://v3.vuejs.org/guide/installation.html#cdn https://v3.vuejs.org/guide/installation.html#cdn
- mmcnl 6y agoThis doesn't make any sense. jQuery is a library for DOM manipulation. React is a view layer framework. They are totally different solutions for different problems. If jQuery suits your needs, you probably don't need jQuery at all because vanilla JS is quite capable these days.
- cosmotic 6y agoThey are both used to add client-side interactivity. I agree vanilla JS is often a capable alternative. jQuery offers a lot of convenience though.