days
-4
-3
hours
0
-1
minutes
-5
-7
seconds
-2
-5
search
And still has much to offer

Devs have spoken – jQuery is here to stay!

Eirini-Eleni Papadopoulou
jquery
© Shutterstock / oneinchpunch  

After GitHub announced their decision to decouple from jQuery, we had a discussion on whether the museum is calling for this legendary tool. In the poll attached to that article, 429 of you voted and the decision is final: jQuery is here to stay!

Earlier this month, we heard some opinions on how jQuery is old and irrelevant, how it makes your website unnecessarily slow and how various companies, including GitHub, have documented their decision to decouple from jQuery.

But we also saw that there are those who still believe jQuery has a lot to offer. So, we decided to settle the discussion once and for all and we launched a poll!

The vast majority of the respondents has spoken: jQuery is still very much relevant!

As we also came across some people expressing the opinion that current jQuery usage is mostly in legacy applications, we split the “yes” answer into two parts. However, the results are pretty clear. 74% of the respondents use jQuery in new projects!

 jQuery is still very much relevant  — it just isn’t getting talked about.

Sam Oldenburg

It may have been the fact that new technologies are stealing the spotlight (see more below) and no one actually discusses this legendary library that it may seem like it has become irrelevant.

But the numbers don’t lie, my friends! jQuery is still very much alive and will keep doing what it does best –help you write code faster!

The discussion so far

Recently, I came across an old discussion on the pros and cons of using jQuery and its future. The discussion had taken place back in 2016 with experts like Jen LooperTodd Motto, and Jeremy Likness agreeing on the fact that “Angular, Knockout, React, etc. have all contributed to diminishing the need for jQuery.”

The discussion itself as well as the title of the post “Is jQuery Still Relevant?” got me thinking. Is this really happening? Is jQuery becoming redundant, for real?

After a bit of research, I found some other posts and discussions all focusing on whether jQuery is still relevant or not and if you would be better off moving away from the library.

And then… BOOM! GitHub announced that they are removing jQuery from GitHub.com frontend.

The team wrote in a recent blog post:

We have recently completed a milestone where we were able to drop jQuery as a dependency of the frontend code for GitHub.com. This marks the end of a gradual, years-long transition of increasingly decoupling from jQuery until we were able to completely remove the library.

How long has this “moving away from jQuery” thing been going on? How did one of the most dominant tools in the JavaScript ecosystem end up withering?

Let’s take a closer look at the reasoning various sides offer on the relevance (or irrelevance) of jQuery.

How it all started

The original and most prominent feature that made jQuary a God in web development was the cross-browser compatibility that, back in the day, was still a huge issue.

Midway, jQuery added tons of extra functions and wrappers like.ajax(), .post(), event binding helpers that made it super amazing for web developers but it also made it tricky for frontend developers since, at some point, they would find it quite difficult to know what was actually going on behind the curtains.

What’s more, new tools that came along the way, like Angular or React, took away a big chunk of the spotlight.

There was another factor contributing to jQuery’s downfall and that was the team’s rather sluggish updates and releases. The last couple of years or so the team has moved to a new system with roughly two releases per year. Not to mention that these releases focus on removing features rather than adding new ones or making groundbreaking changes.

Moving to some real-time examples, even before the news bomb from GitHub dropped, there were various companies documenting their decoupling from jQuery and how they ended up with a faster platform because of that.

On the other hand, if you take a look at jQuery usage statistics you cannot really see the numbers going down. What I gathered from the discussion on the Telerik blog I mentioned earlier is that most of this usage is legacy rather than new applications.

There is always the other side of the coin

The trend of moving away from jQuery can be documented as early as 2014 (if my research is correct). But there are some developers that still keep the jQuery flag high.

In a couple of threads on Reddit and Hackernews, people have been expressing their intention to keep working with jQuery and their opinion that the whole “hate” on jQuery is rather unfair.

I think all of this recent jQuery hate is just odd. Suddenly it’s not cool to use a ‘old’ relatively lightweight javascript library just because it’s not sexy…? jQuery might not be as sexy from a developers standpoint lately. But it is from a business standpoint, code maintainability, and just basic “Get S*** Done” standpoint. I think its worth all 92ko’s in allot of cases.

Some others may recognize the withering trend of the library but strongly believe that we have not yet seen a definite downfall.

jQuery isn’t going to go anywhere until businesses can realistically assume that the vast majority of their customers are on modern browsers. So it might be dying, but, much like Adobe Flash, it’s going to be a slow death.

There may be hope yet

The jQuery team has mentioned in 2017 that they are working for some big things for the 4.0 release.

Indeed, the roadmap shows some interesting ideas the team has been working on like create a web download builder and add automated code coverage. Will this be enough for the legendary library to gain back all the lost momentum?

We will see. For now, you can let us know in the poll below if jQuery is still an important tool for you.

Are you still using jQuery?

Loading ... Loading ...

gewzo

    DevOpsCon Whitepaper 2018

    Free: BRAND NEW DevOps Whitepaper 2018

    Learn about Containers,Continuous Delivery, DevOps Culture, Cloud Platforms & Security with articles by experts like Michiel Rook, Christoph Engelbert, Scott Sanders and many more.

gqwpg

Author
Eirini-Eleni Papadopoulou
Eirini-Eleni Papadopoulou is an assistant editor for JAXenter.com. Just finished her masters in Modern East Asian Studies and plans to continue with her old hobby that is computer science.

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of