JSFiddle - React, Tailwind, and code Playground
HTML
<a href="#" class="some-class">link</a>
JavaScript
$('.some-class').click(function(){
$(this).removeClass('some-class');
})
<a href="#" class="some-class">link</a>
$('.some-class').click(function(){
$(this).removeClass('some-class');
})