Jquery on the way out?

Jquery on the way out?
0

#1

I read an article a few days ago, and meant to ask about this sooner. It was more of a tutorial/lesson kind of thing, but it encouraged the reader not use any jquery, because jquery was not worth it to summarize it. Is this true?


#2

I didn’t understand the argument because jquery was not worth it to summarize it.

jQuery is one of the best tools there since people can do more with fewer lines.

And yeah, it’s not advised to use jQuery or any other library or framework, if one doesn’t have enough JS knowledge, or else they may end up doing things they don’t understand. (If this is what they mean).


#3

What if you were asked in your job to either modify an existing jQuery app? There are still many websites which heavily use jQuery. For small new projects, you may stick with vanilla JavaScript and for new large projects, you may want to use a library like React or a framework like Angular, but it will not hurt to learn the basics of jQuery. You never know what kind of opportunity could pop up in your web development future.

That being said, I would focus your time on React or Angular, because those are hot right now and the pay could be considerably higher than jQuery work.


#4

I’m not sure how I came across the article to honest. Searching for something I guess, but I’ve already been through my jquery course in school. I just wanted to see what people’s thoughts were. From what I remember the author described jquery as being outdated, and not being around for much longer.


#5

My instructor from a coding boot-camp advised me that eventually people will stop using J-Query, it was huge in the past, but not anymore. Now He mainly want us to put our focus on solid Js and their frameworks(React, Vue and Angular)…


#6

jQuery was written when there were significant differences between (and gaps in) different browser implementations of DOM APIs (ie how you manipulate elements on a web page). It smoothed over those differences, and had (still has) a great API; it’s really easy and generally pleasant to to use. Coupled to that, it has a really nice wrapper around browser AJAX implementations.

It’s problem now is that it won, basically. It kinda forced browser APIs forward quite a lot, and now, on the whole, they have the features that jQuery provided. It used to be necessary to include jQuery, but even though the API is still nice, and it’s still easy to use, it’s kinda obselete. Also note there has been a trend for desktop-like apps (single page apps) in the browser, and jQuery isn’t good at that - Rest/Angular/Vue/etc do it better


#7

AFAIK, jQuery accomplished 3 big things when it came out:

  1. It made cross browser compatibility a little better. This is less of an issue now.

  2. It made AJAX easier. But now JS has fetch so this is less of an issue.

  3. It makes manipulating the DOM easier. If you’re not using Angular/React/Vue, then this is very useful.

So, I think it’s less useful than it used to be. But it still is useful. And there are still new sites using it. And there are a lot of legacy sites using it.

It’s a useful tool. It is not a “perfect” tool. but there is no such thing. It is a good tool in some and not appropriate in others. It is less useful than it used to be (because some of it is now built in) but it still has its uses.


#8

Jquery is definitely on the way out and you are hard pressed to find any job offerings that need you to know JQuery. It’s biggest strengths, easy DOM manipulation and asynchronous requests have been made a lot easier with vanilla JS. The biggest reason to learn it is that there are still so many websites out there that rely on it. If you ever have to work on one, being able to read what is does is a big plus.

Here is an overview of current use of JS libraries, see how JQuery is still dominating the web:
https://w3techs.com/technologies/history_overview/javascript_library/all/q

Note that it is not tracking frameworks in use but still there is not a real decline in websites that use JQuery.