JSFiddle - React, Tailwind, and code Playground

HTML

<div id="buttons">
    <button class="button">Click</button>
</div>

JavaScript

$(document).ready(function() {
    $("#buttons").on("click", ".button", function() {
        $('#buttons').append('<button class="button">Click</button>');
    });
});