Comment on Are mobile web apps slow?parentComments−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
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?