Live data from Hacker News

jQuery 4

blog.jquery.com

31–40 of 313 posts

Re: jQuery 4

#31

I was surprised that for most of my smaller use cases, Zepto.js was a drop-in replacement that worked well. I do need to try the jQuery slim builds, I've never explored that.

Zepto! That's a name I haven't heard in years. I don't remember how it happened but I'm still a member of the ZeptoJS org on Github.

Re: jQuery 4

#32
I love that they support ES6 modules, Trusted Types, and CSP! The clearing out of old APIs that have platform replacements is nice to see too!

Re: jQuery 4

#33
This is huge. jQuery is still my way to go for any website requiring some custom interaction that isn't available in vanilla js.

Re: jQuery 4

#34
I cannot express how much I admire the amount of effort jQuery puts into their upgrade tools.

Re: jQuery 4

#35

Unbelievably, still supports IE 11 which is scheduled to be deprecated in jQuery 5.0

Not everybody in the world can use modern hard- and software. There are tons of school computer labs running old software

Re: jQuery 4

#38
post #9
post #5

Even after migrating to ES modules, jQuery is still somewhat bloated. It is 27 kB (minified + gzipped) [0]. In comparison, Preact is only 4.7 kB [1]. [0]: https://bundlephobia.com/package/jquery@4.0.0 [1]: https://bundlephobia.com/package/preact@10.28.2

jQuery does a lot more though, and includes support older browsers.

> includes support older browsers

Which is entirely the issue. Supporting a browser for the 10 users who will update jQuery in 2025 is insane.

Re: jQuery 4

#39

Unbelievably, still supports IE 11 which is scheduled to be deprecated in jQuery 5.0

Not everybody in the world can use modern hard- and software. There are tons of school computer labs running old software

Yes, run jQuery 3.

Crazy to think that software running inside IE11 should use the latest version of a library.

Post reply on HN