JSFiddle - React, Tailwind, and code Playground
HTML
<input type="radio" name="test">1<input type="radio" name="test">2
JavaScript
$('input[name=test]').click(function(e) {
var previous = $(this).attr('previous');
if(previous){
$(this).prop('checked', false)
}
$(this).attr('previous', $(this).prop('checked'));
});