Note: Scroll to the bottom for a handy link to a website that gives you dozens of alternative ideas to jQuery.
In other words: is jQuery dead?
Search around the web, and there is no shortage of blogs with titles proclaiming that jQuery is dead — to the point of fossilization.
But do those claims have merit in the real-world web development industry?
In today’s post, we’re checking in with a few of the 155 developers who answered the RealToughPoll (heh!): Do you still use jQuery for new projects?
There were some interesting patterns in the responses.
Firstly, many developers noted that they bypassed jQuery once they started using React. This may be because of the virtual DOM (as opposed to jQuery’s direct interaction with it), but the data is too incomplete to be conclusive.
Secondly, while the majority of developers polled said they don’t use jQuery for new projects, those who do use it were much more vocal in the comments section. Let’s see what people are saying!
Code Chris says he tries not to use jQuery, but there are some big exceptions:
On NEW stuff… I intentionally try not to, but like if an API or plugin uses it in their documentation i just follow suit, at least for that portion of the code. But I still use jQuery on the daily since alot of the sites I work on were built with it.codeChris
In a similar vein, Xero0077 says that it’s ease of integration with current workplace standards that keeps him pushing on with jQuery:
At my job we are rebuilding an app for new clients. Since the original one uses a lot of jQuery for client side validations the new ones will also be made with jQuery. Easier for us that way.Xero0077
Tyler noted that it was React that motivated him to move on:
[…] Haven’t touched that since I learned React which been like a year. I really don’t see a reason for it. […]Tyler
Craig also echoes the React sentiment:
And Candace chimes in as well, making it a React trifecta:
I remember using jQuery years ago and had to transition the company’s website to React framework.Candace
Traversy Media has an interesting insight with the animation angle:
Animation is the one area where I think jQuery really comes in handy, especially if you lack CSS skills. As far as DOM, ajax, etc…no need at all for it…but then again you have smaller animation libraries…my opinion of course 🙂Brad (Traversy Media)
While Dan makes the jQuery & Bootstrap connection with a bite of software news, confirming that jQuery is dead in an upcoming version of Bootstrap:
A lot of people only use jQuery because it’s a dependency of Bootstrap. Bootstrap is dropping jQuery in v5…Dan
Finally, Robin schools the new kids on the fresh perspective jQuery brought to the web game:
As many of these developers noted, there are still many relevant use cases for jQuery.
So, is jQuery dead? As MrGilSteiner sagely observes:
Need help determining if you really need to use jQuery or not for a new project? Check out http://youmightnotneedjquery.com/