JSFiddle - React, Tailwind, and code Playground

HTML

<ul>
<li><input type='radio' name='radioBtn'>체크1</li>
<li><input type='radio' name='radioBtn'>체크2</li>
<li><input type='radio' name='radioBtn'>체크3</li>
</ul>

JavaScript

$(document).on("click", "input[name='radioBtn']", function(){
    thisRadio = $(this);
    if (thisRadio.hasClass("imChecked")) {
        thisRadio.removeClass("imChecked");
        thisRadio.prop('checked', false);
    } else { 
        thisRadio.prop('checked', true);
        thisRadio.addClass("imChecked");
    };
})