Comment on Are mobile web apps slow?parentComments−gketuma13ygreat app. Did you use any framework to build the app (I mean frameworks like sencha, enyos, etc)?−thekingshorses13yNo, 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.−nreece13yNative fragment technique is even faster than innerHTML in Chrome/Firefox: http://jsperf.com/innertext-vs-fragment/19−panabee13ythis is an awesome insight. any chance you could share more of these lessons?
Comments
great app. Did you use any framework to build the app (I mean frameworks like sencha, enyos, etc)?
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?