JSFiddle - React, Tailwind, and code Playground

HTML

<select>
<option value="first">First</option>
<option value="something">Another</option>
<option value="foo">And Another</option>
</select>

<div id="foo" style="display:none">This div has the stuff we want to conditionally show/hide based on a specific selection</div>

JavaScript

$('select').change(function() {
    $('#foo').toggle($(this).val() == 'first');
}).change();