Does it make sense to use jQuery in modern-webkit-only web applications?

Posted by futlib on Programmers See other posts from Programmers or by futlib
Published on 2012-06-21T09:31:02Z Indexed on 2012/06/21 15:23 UTC
Read the original article Hit count: 189

Filed under:
|
|

I'm lately working on a few mobile web apps for Android (2.3+) and iOS (4+). Their browsers support most of ECMAScript5, which is very powerful, and I wanted to use language features where possible, resorting to jQuery only when I had to.

Turns out the only thing I use jQuery for is to have a shorter alternative for document.querySelectorAll. Might as well get rid of it.

If I only have to support modern WebKit browsers, is it a good idea to get rid of jQuery (and other general-purpose libraries)? They are a layer of indirection, after all.

(The apps don't have to make AJAX calls so far, I guess that's one thing that's going to get ugly. But is it worth keeping jQuery just for that?)

© Programmers or respective owner

Related posts about JavaScript

Related posts about jQuery