Live data from Hacker News

jQuery v4.0 Beta

blog.jquery.com

211–220 of 404 posts

Re: jQuery v4.0 Beta

#211

Earlier quoted context omitted.

There's 2 types of web pages. Websites and web apps. If you're building a web app, you're going to want a framework that isn't going to fall apart the second things start getting complicated. If you're making a little marketing website, sure, sprinkle some jQuery on there and call it a day. Probably better for performance and SEO unless you want to spend 10x as long micro-optimizing your SSR. Point is, there's differ…

Okay, what part of what I said are you trying to refute or educate me on? There's a large proportion of posters on HN who spend their days building web apps. They are very likely to stick to using what they know, even when building web sites. If you spend your days working as a welder, and suddenly need to build a box for some reason, you're probably not going to be breaking out the fine wood joinery tools. You're pr…

> Okay, what part of what I said are you trying to refute or educate me on?

Not the GP, but that's why, when applicable, I try to prefix my replies with a variant of "I agree, and btw..."

Re: jQuery v4.0 Beta

#212

For those of you who are curious what drives jQuery in 2024 and beyond, you need to remember that WordPress is still more than 1/3 of the web, and the majority of installations and so many plugins critically rely on jQuery. Yes, seriously. Any advances to removing deprecated APIs or functions are great. jQuery will probably be around dominantly on the web for years to come.

> Any advances to removing deprecated APIs or functions are great.

if something is used, it has value. it's not deprecated.

Re: jQuery v4.0 Beta

#213
post #41

I'm consistently surprised by the commenters on HN who seem to think jQuery is just a DOM selection library, when in fact it is a widely supported, incredibly stable tool set for (yes) DOM selection, but also attribute manipulation, Ajax requests, event handling, animation, and general utility functions. What's more, where there _is_ native functionality that replaces jQuery, the API is never as fluent. For work that…

yes and far easier to drop jq into a project.

no need for build tools and all headache. (i know you do that with react but its not comparable features).

Re: jQuery v4.0 Beta

#215

Earlier quoted context omitted.

>…WordPress is still more than 1/3 of the web… Why still? WordPress, like jQuery, is awesome. It's an incredibly powerful and easy open source CMS. I hope it takes more of the Web. And if you're gonna defend the decentralization of the Web (and I do), it's hard to find a better argument than “just buy a domain and install WordPress”.

It's a buggy insecure mess. No one should be advocating for wordpress.

The only buggy or insecure code is really from third party plugins and themes. Wordpress core has been rock solid. Ya you still need to setup caching and there’s some modifications to run it at scale but that’s all a solved problem thanks to the likes of Automattic and their VIP platform.

Re: jQuery v4.0 Beta

#216
post #207

Earlier quoted context omitted.

Yesterday I wrote a custom page which dumped out a table for some investigation. I threw jquery and a tablesorter plug-in. Without JS you get the table, but with you can easily sort and filter. Took about 2 minutes to add the optional filter. The backend is bash of course.

For tables my favorite jQuery plug-in is: https://datatables.net/ Have a page with some tables? A few lines of jQuery and you have search sorting etc. It can be customized but defaults are fine. This is how abstractions and progressive enhancement should be done.

I’m not even sure what I used, it’s the same 5 lines I’ve used for years. Boom bang and on to the next problem.

For every unicorn saas webapp $300k a year developers are writing there’s a thousand small pages. If you’re building a house you aren’t going to use a Swiss Army knife, but if you’re camping out for a couple of days you aren’t going to take a van full of power tools.

Re: jQuery v4.0 Beta

#217

For those of you who are curious what drives jQuery in 2024 and beyond, you need to remember that WordPress is still more than 1/3 of the web, and the majority of installations and so many plugins critically rely on jQuery. Yes, seriously. Any advances to removing deprecated APIs or functions are great. jQuery will probably be around dominantly on the web for years to come.

1/3 of the web does not mean much. Are you referring to web usage or just the number of web pages?

web pages and it does matter a lot. Among others, Woocommerce runs 23.43% of e-commerce.

Re: jQuery v4.0 Beta

#218

Earlier quoted context omitted.

>…WordPress is still more than 1/3 of the web… Why still? WordPress, like jQuery, is awesome. It's an incredibly powerful and easy open source CMS. I hope it takes more of the Web. And if you're gonna defend the decentralization of the Web (and I do), it's hard to find a better argument than “just buy a domain and install WordPress”.

It's a buggy insecure mess. No one should be advocating for wordpress.

nature abhors a vacuum

Re: jQuery v4.0 Beta

#219

For those of you who are curious what drives jQuery in 2024 and beyond, you need to remember that WordPress is still more than 1/3 of the web, and the majority of installations and so many plugins critically rely on jQuery. Yes, seriously. Any advances to removing deprecated APIs or functions are great. jQuery will probably be around dominantly on the web for years to come.

A lot of us are using it actively. It's so lightweight now that it s free, and it s somewhat better than vanilla js.

Re: jQuery v4.0 Beta

#220

Earlier quoted context omitted.

Also, jQuery is awesome. People have been in love with the overly complex and fancy javascript frameworks for the last 15 years or so. But jQuery doing dynamic binding to dynamically generated forms for some error states and maybe an ajax calls is literally all the javascript you need in 99% of web pages and the rest is overkill. The industry is going to move away from the complexities to React and towards more of th…

jQuery is amazing, still remember the joy of using it 20 years ago. That being said, React, Vue and similar are just better IMO to build and maintain complex apps. Don't get me wrong, jQuery was the best thing at its time and I will always be grateful to its contributors, but today there are better alternatives. I think htmx is nice but not seeing it taking over other frameworks.

lol react. Never seen a good react project. They all end up a mess.
Post reply on HN