JSFiddle - React, Tailwind, and code Playground

HTML

<div id="file-container">
    <input type=file>
</div>

JavaScript

jQuery(function($) {
    $("#file-container").change(function(){
        alert("Event fired!");
    });
});