4 ms·
JQuery is massive and has a lot of functionality. Sometimes this is nice, but sometimes all you need from it is a small part of that whole. I think the point of
by fiiv 10y ago
JQuery is massive and has a lot of functionality. Sometimes this is nice, but sometimes all you need from it is a small part of that whole. I think the point of that link is that if you are looking to build in some simple functionality like hide and show an element when someone clicks a button, then you do not really need to include the whole JQuery library just to do that because then the massive library is not being used and you would be better served to write your own vanilla function.
I don't see anything wrong with that. No one is saying that JQuery sucks or that it should die, I think the point is more "use the best tool for the job".
You can buy a massive wrench with all kinds of adjustable settings and addons and stuff but if all you ever need is an Alan key, then maybe the little one that comes with your IKEA furniture is actually better and easier to use than that massive wrench.