JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" value="one"><span class="one">one</span>

JavaScript

var $na = jQuery.noConflict(true);
$na(function($){   
    $('input[type="checkbox"]').change(function(){
        $("." + this.value).toggle(this.checked);
    }).trigger("change");
});