JSFiddle - React, Tailwind, and code Playground

HTML

<a href="">test</a>

JavaScript

$("a").click(function()
{
    return false;
});