JSFiddle - React, Tailwind, and code Playground
HTML
<form method="POST" action="uploadFile" enctype="multipart/form-data">
<strong>Upload file:</strong>
<input type="file" name="file" />
</form>
<form method="POST" action="uploadFile" enctype="multipart/form-data">
<strong>Upload file:</strong>
<input type="file" name="file" />
</form>