JSFiddle - React, Tailwind, and code Playground
HTML
<input type='radio' name='a' id='aa'>aa</input>
<input type='radio' name='a' id='bb'>bb</input>
<br>
<input type='radio' name='b' id='aa2'>aa2</input>
<input type='radio' name='b' id='bb2'>bb2</input>
JavaScript
$("#aa").on('change', function () {
$("#aa2").prop("checked", "checked");
});
$("#bb").on('change', function () {
$("#bb2").prop("checked", "checked");
});