JSFiddle - React, Tailwind, and code Playground

JavaScript

$(function () {
    var i,
        len,
        pieces = ['<ul>'],
        html;
    len = 71860;
    for (i = 0; i < len; i += 1) {
        pieces.push('<li>Foo</li>');
    }
    pieces.push('</ul>');
    html = pieces.join('');
    $('body').append($('<div>').text('Len: ' + html.length));
    html = $(html);
    $('body').append(html);
});