Open mattlub opened 7 years ago
https://github.com/facn2/knafeh/blob/master/scripts/updateContent.js#L3-L13
For each reload, you make changes to the page (a relatively expensive action) lots of times.
It is better to create the elements then append them to the page in 1 action.
https://www.sitepoint.com/10-ways-minimize-reflows-improve-performance/
cheers bro will look into that
https://github.com/facn2/knafeh/blob/master/scripts/updateContent.js#L3-L13
For each reload, you make changes to the page (a relatively expensive action) lots of times.
It is better to create the elements then append them to the page in 1 action.