Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> jQuery is kind of a big download for mobile, so I often skip it for small tasks.

That's what Zepto[0] is for: jQuery's API, 20% of the size (although it drops some features, e.g. $(selector) is pretty directly proxied to document.querySelectorAll, so $('> .foo') works in jQuery but blows up in Zepto)

[0] http://zeptojs.com/



Ah, last I looked at Zepto, it's support for non-webkit browsers was pretty lacking. It's good to see they're making strides on the cross-platform comparability front. The supported browsers list looks pretty good now.


Been using it on mobile for about a year. It's small and snappy, and the people behind it are very responsive & opinionated in a good way.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: