JSFiddle - React, Tailwind, and code Playground

HTML

<div> <a href="next.php" id="about">click here</a>

</div>

JavaScript

$(document).ready(function () {
    $('#about')[0].click();
});