JSFiddle - React, Tailwind, and code Playground
JavaScript
var numDivs = 10000,
startTime = new Date();
var html = $('body'),
eles = [];
while(numDivs--){
eles.push($('<div>Actually, the DOM is fast.</div>'));
}
//$('body').html(html);
html.append(eles)
alert(new Date() - startTime);