For folks who still work with jQuery, for personal or professional projects, what is the overall context of this work? Do you expect this to be refactored at any point?
For further actions, you may consider blocking this person and/or reporting abuse
Latest comments (63)
These days, I use useRef in React.
To me, itβs the component mental model the frameworks like React, Angular or Blazor offer makes the difference, making the app well structured and maintainable. Itβs not easy for beginners or even experienced programmers to get in to habit to write components as building blocks with tools like JQuery.
I still use it in my personal projects (often together with Vue or React) when I need to touch stuff on a lower level (modify the DOM directly, write complex selectors etc.), which doesn't happen that often, but I would rather write a fast one liner than deal with the vanilla javascript DOM manipulation methods.
Yes, I still work with jQuery for my app, but only because the libraries I use require jQuery to work.
Otherwise, I just use vanilla JS, because it is robust.
Still use it professionally. Frankly I've never worked anywhere that didn't have some legacy jQuery somewhere in the application. As much as I'd love to go through and rip it all out, it's not a business priority and I have enough on my plate.
Yes, I still use it. Jquery is just a tool. A tool never gets old.
I was in a project that used jQuery quite heavily. It was too old, big and complex to get it replaced, the backend and frontend coupling also made any migration idea basically impossible.
Yet, it was really fun to explore ways to insert React in the new pages, cope with React/jQuery conflicts and all that stuff.
Nope but I think the main point is that hating on jQuery just because it is jQuery is cargo-culting.
That's the point I was trying to make. There's nothing wrong with preferring other tools over jQuery or opting for vanilla JS.
So when they add static typing to shitescript (chromescript) the crappy language for manipulating xml documents, are we then to assume you will bin/wrewrite all your current vomit/text files that get transexualised into... normal js?. tadaaa!. js devs are an embarasment. listen to yourself. 40% of the web is wordpress and doesn't care for your crap. were waiting for js to die. Everyone on the planet older than 10 years old know for a fact .js is wank and will be replaced soon as others can target the browser. But apple/google drag heels on purpose to get you on the apps. The webs been stuck in the 90s for a decade and is dying a slow death. Desktop experience is dead.
Professionally we'll probably still be using jQuery for a while. We build a large number of sites every year and we have so many types of functionality that rely on jQuery plugins: custom sliders, media lightboxes, form validation, interactive data tables, etc. that it would take a bit of time to figure out compatible vanilla versions. We looked at switching to vanilla JS a few years ago but unfortunately that was before ES6 and the syntax wasn't friendly and we still had to support older versions of IE.
I would love to slowly start updating the code but unfortunately when you have entire design systems built around the existing plugins and we're efficient in terms of building sites, it's hard for us to switch and make the business case for it.
No. I had extensive experience with jQuery β including rewriting it from scratch (long story) β and I am a big fan of Vanilla.js.
Although I do use πππ½ππ¨ππππ Programming's helper, and I define it exactly that way (verbatim).
There's also Cash, which replicates much of jQuery, including its lovely chained API, but uses modern JavaScript below the hood: github.com/fabiospampinato/cash
Yes, code simplicity. No, why, Jq core not yet release major version CMIIW.
No. I don't work with it anymore and don't have any requirements to work with it.
Simply being that it's unneeded for most of my works, even if I do need selectors there is Document.querySelectorAll.
yeap for a quick website it is fine. For large scale website though hmmm I do not know depending the situation.