Is jQuery dying?

lucien_lies

Active member
jQuery is a popular JavaScript library that has been around for more than a decade. It simplifies tasks like DOM manipulation, event handling, animation, and Ajax with an easy-to-use API that works across different browsers. However, in recent years, jQuery has faced some challenges from modern libraries and frameworks, such as React, Angular, Vue or even vanilla js. These tools offer more features and performance benefits than jQuery, and they also rely on native browser APIs that have become more standardized and consistent over time. As a result, many developers have moved on from jQuery and some websites have dropped support for it.

XenForo use of jQuery shows that it is still a viable option for web development in 2023. While it may not be as trendy or powerful as some other tools, it still offers simplicity, compatibility, and flexibility that can suit different needs and preferences. What are your opinions on XenForo choice to stick with jQuery as its main JavaScript library?

So, what do you think? Is jQuery dying or not? Share your thoughts below
 
In my opinion, it's dying and I'm glad it is. Vanilla javascript has blossomed in the last decade (not even counting typescript or frameworks/libraries built with it) with its own easy to use API and updates (async/await, arrow functions, and more).
I would actually be happy if XenForo dropped jQuery for vanilla JS as I dislike working with jQuery.
 
Yup, which they won’t (not can’t) address precisely because they don’t want to break compatibility with those plugins.
 
Yup, which they won’t (not can’t) address precisely because they don’t want to break compatibility with those plugins.
That does not mean jQuery usage is not dying.

Newer platforms are not using jQuery, and the trend of throwing jQuery on everything has dwindled as other options have matured. The likelihood of jQuery fully dying is unlikely, as you still have people using even MooTools 🙃.
 
jQuery isn't dying so much as it's not as needed as it once was (as in it's not being replaced by anything better beyond browsers that support more stuff out of the box). As others have said, browsers have matured and are (slowly) catching up. So depending on what you are building, jQuery might not be needed (nor anything else comparable).
 
jQuery 4.0.0 just dropped! First major release since 2016.

Good video here explaining why it's still important. I don't plan on using it, however it's interesting to see how the maintainers have modernised all the tooling they use to maintain it, and to make it easier for others to contribute.

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
Is one of the best advertisements for jquery I've seen.

Honestly I'll probably migrate my add-ons to use jquery 4.0 over going completely vanilla js.

My plan is todo a custom build of jquery without some of the things XF2.3 re-implements to slim it down as much as possible (this is possible!) and bundle it with my Standard Library add-on which all my add-on's require anyway
 
My plan is todo a custom build of jquery without some of the things XF2.3 re-implements to slim it down as much as possible (this is possible!) and bundle it with my Standard Library add-on which all my add-on's require anyway
This is sad news :(

I hope you reconsider the decision to use jQuery with XF 2.3.
 
Top Bottom