JSFiddle - React, Tailwind, and code Playground

by petroveg

HTML

<div id="result"></div>

JavaScript

$(function () {
	var count = 0;

	(function test () {
		$('#result').append(++count + '<br>');
		setInterval(test, 3000);
	})();
});