JSFiddle - React, Tailwind, and code Playground

HTML

<div class="tags">
     <a href="#">myLink</a>
</div>

JavaScript

$('.tags a').live('click' , function() {
    $(this).remove();
    return false;
});
$('.tags').append('<a href="#">newLink</a>');