JSFiddle - React, Tailwind, and code Playground

HTML

<a href="http://about.com/"></a>

JavaScript

$(function() {
    $('a').click(function() {
        // 'this' is not a jQuery object, so it will use the default click() function
        this.click();
    }).click();
});