Hacker News new | ask | show | jobs
by gketuma 4701 days ago
great app. Did you use any framework to build the app (I mean frameworks like sencha, enyos, etc)?
1 comments

No, I didn't use any framework, but I am using Zepto library. I may remove zepto in the future as all these libraries are very slow on mobile. When I replaced $.html() with dom .innerHTML, rendering time improved by 50% in some cases.
Native fragment technique is even faster than innerHTML in Chrome/Firefox: http://jsperf.com/innertext-vs-fragment/19
this is an awesome insight. any chance you could share more of these lessons?