JSFiddle - React, Tailwind, and code Playground

HTML

<div id=loader></div>
<div id=c></div>

JavaScript

var c = document.getElementById('c'),
    table = document.createElement('table')
    loader = document.getElementById('loader'),
    intervalId = 0,
    times = 0,
    gen = function(){
        var text = ''
        for (var i=0; i<1000; i++) {
            var el = document.createElement('tr')
            el.innerHTML = "<td>abs</td><td>xyz</td>"
            table.appendChild(el)
        }

        times += 1
        loader.innerHTML = times + '/100'
        if(times > 99){
            clearInterval(intervalId)
            c.appendChild(table)
        }
    }
    intervalId = setInterval(gen, 100)