JSFiddle - React, Tailwind, and code Playground

HTML

<textarea></textarea>

JavaScript

$(document).on("input", "textarea", function(e) {
    console.log(this.value);
});