JSFiddle - React, Tailwind, and code Playground
HTML
<a class="yourlink" href="#">Test</a>
JavaScript
jQuery('a.yourlink').hover(
function () {
window.oldtitle = $(this).text();
$(this).text('Your New Title');
},
function () {
$(this).text(window.oldtitle);
}
);