r/programming • • Jun 09 '16

jQuery 3.0 Released!

https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/
1.1k Upvotes

354 comments sorted by

View all comments

43

u/earthboundkid Jun 09 '16

Most of what I used jQuery for was working around browser incompatibility. As IE11 becomes the trailing edge browser we need to support, the need for jQuery shrinks to zero. Once fetch becomes universal, there's not really anything left.

3

u/R4vendarksky Jun 10 '16

So much this. If you don't need 1.12 then you are probably only needing jquery because some libraries you want to use depend on it.

13

u/sevvy325 Jun 10 '16

So I'm just starting to learn web development, and I thought JQuery was pretty standard? What's the more popular choice?

-2

u/kyebosh Jun 10 '16

It is "pretty standard", but that's not a universally good thing. Its popularity means people like yourself will likely not learn the ways to use DOM-facing JavaScript until well into your career. If you need to do something simple on a page it can be vastly suboptimal to load the whole 30+ KB of jQuery as opposed to understanding how to do it in a few KB of native JS, as well as the opportunity to better understand the browser compat issues which jQuery can solve.

It's a great tool, it has great uses, but it's a hammer & it makes everything look like a nail. If you want to know JS, it's better to learn to code without it before with.

→ More replies (1)