JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" />
<div id="output"></div>

JavaScript

$('input').bind('input propertychange', function() {
    $('#output').html($(this).val());
});