JSFiddle - React, Tailwind, and code Playground

HTML

<div id="playground"></div>

JavaScript

var playground = document.getElementById("playground");

function doCanvas()
{
    var canvas = document.createElement("canvas");
    canvas.setAttribute("height", "1226");
    canvas.setAttribute("width", "3391");
    
    if (playground.firstChild)
        playground.removeChild(playground.firstChild);
    playground.appendChild(canvas);
    
    var ctx = canvas.getContext("2d");
    ctx.strokeRect(0, 65535, 11111111111111111111111111111111, 9223372036);
    console.log("1");
}

for (var i=0; i<500; ++i)
    setTimeout(doCanvas, 0);