Why do yo use JavaScript-Libraries like jQuery?
11–17 of 17 posts
You are mistaking jQuery for a querySelectorAll alias, I have no words for how wrong that is.
Re: Why do yo use JavaScript-Libraries like jQuery?
#12I'm pretty sure people also test a lot less when using jQuery. It's a convenience thing.
Re: Why do yo use JavaScript-Libraries like jQuery?
#13You are underestimating how much work jQuery does for you.
Re: Why do yo use JavaScript-Libraries like jQuery?
#14"Selecting DOM elements isn't an argument" I think this is actually the remaining argument. JQuery was the best at selecting DOM elements and grew from there. I think the question now is whether you find enough value in the other parts of JQuery to include its (rather massive) .js file.
You can use the selection engine as a standalone.
Re: Why do yo use JavaScript-Libraries like jQuery?
#15Practically everything I can think of needing on a daily basis has a solution already made and tested in jQuery. Very rarely do I have to reinvent the wheel, be it tablesorting, an AJAX-sourced type-ahead box, or a nicer date widget. That saves time and effort.
Its ubiquity also means that problems are often already solved in it. Every time I've run into a jQuery bug there has been discussion and work-arounds already posted online by people much smarter than myself.
Re: Why do yo use JavaScript-Libraries like jQuery?
#16You are mistaking jQuery for a querySelectorAll alias, I have no words for how wrong that is.
+1. Dear lord..
Re: Why do yo use JavaScript-Libraries like jQuery?
#17Here is a reason why.. http://jsperf.com/queryselectorall-vs-jquery-jb