JSFiddle - React, Tailwind, and code Playground

HTML

<input id="text_box" type="text">
<div class="console"></div>

JavaScript

jQuery('#text_box').on('input propertychange paste', function() {
    var $this = $(this);
    $('.console').append("change...... " + $this.val() + "<br/>");
});