Hacker News new | ask | show | jobs
by sjs382 4539 days ago
And definitely replace jQuery with Zepto (which is more-or-less a drop-in replacement), if you have control of the client (non-IE) or especially are working in mobile.
2 comments

I wouldn't say "definitely". Even Foundation has gone back to jQuery.
I've not heard of Zepto. Out of curiosity, why use it over jQuery?
When using Phonegap (and mobile web in general), I've experienced a pretty major delay between page load and jQuery running. Zepto seems to run instantly. YMMV.
Probably the file size argument, last time I read one of these discussions jQuery was 3x bigger gzipped at ~30kb.
Ok, that makes sense, especially for mobile development.

I looked it up, and it seems to be missing quite a bit, including the .noConflict() option, which I seem to have to use quite a bit when working on others' code....

It's minimalist.

http://zeptojs.com/