JSFiddle - React, Tailwind, and code Playground
by oceog
HTML
<div id="appendme">test</div>
<button>app</button>
JavaScript
$('button').click(function() {
$('#appendme').append($('<div class="inner">').text(Math.random()));
})
$('#appendme').on('DOMNodeInserted','.inner',function() {
console.log(this);
});