JSFiddle - React, Tailwind, and code Playground

HTML

<div id="myDIV"></div>

JavaScript

$(document).ready(function() {
     var testArray = ["test1","test2","test3","test4"];
        var vPool="";
        jQuery.each(testArray, function(i, val) {
          vPool += val + "<br /> is the best <br />";
        });

       //We add vPool HTML content to #myDIV
       $('#myDIV').html(vPool);
});