JSFiddle - React, Tailwind, and code Playground
HTML
<a href="" id="test">Привет</a>
JavaScript
$(document).on('mouseover', '#test', function(event){
var obj = $(this)
obj.html('Hello')
// alert(1)
})
$(document).on('mouseout', '#test', function(event){
var obj = $(this)
obj.html('Привет')
// alert(1)
})