JSFiddle - React, Tailwind, and code Playground HTML <a href="/test" id="myLink">This should be focused.</a> JavaScript $("#myLink").focus();