JSFiddle - React, Tailwind, and code Playground

by Luke Marlow

HTML

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

JavaScript

$('input').on('paste', function () {
      setTimeout(function () {
        $('#result').text($('input').val());
      }, 100);
    });