JSFiddle - React, Tailwind, and code Playground
HTML
<a data-href="http://www.google.com/" href="javascript:">Click here</a>
<form class="new-tab-opener" method="get" target="_blank"></form>
CSS
.new-tab-opener
{
display: none;
}
JavaScript
$('a').on('click', function (e) {
var f = $('.new-tab-opener');
f.attr('action', $(this).attr('data-href'));
f.submit();
});