JSFiddle - React, Tailwind, and code Playground
HTML
<input type="button" value="Click Me" class="clsTest"/>
JavaScript
$('.clsTest').button().click(function(){
$(this).after('<input type="button" value="Added" class="clsTest"/>');
});
setInterval(function(){
$('.clsTest').not('.ui-button').button();
}, 0);