Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thekingshorses
· 13y ago · 0 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.
Comments
[–]
nreece
13y ago
Native fragment technique is even faster than innerHTML in Chrome/Firefox:
http://jsperf.com/innertext-vs-fragment/19
[–]
panabee
13y ago
this is an awesome insight. any chance you could share more of these lessons?