JSFiddle - React, Tailwind, and code Playground
HTML
<input type='radio' name='recommend' value="1" />
<input type='radio' name='recommend' value="2" />
<input type='radio' name='recommend' value="3" />
<input type='radio' name='recommend' value="4" />
JavaScript
jQuery(document).ready(function(){
jQuery("input:radio:last").attr('checked', true);
})