JSFiddle - React, Tailwind, and code Playground
HTML
<div>
<input type="text"/>
</div>
JavaScript
$(function() {
function leak() {
for (var i = 0; i < 100; ++i) {
$('input').bind('change', function(){});
//$('input').unbind('change');
}
$('div').empty();
$('div').append('<input type="text"/>')
}
setInterval(leak, 100);
});