react elementr how to access element attributes onMouseOve code example Example: react data attributes event const removeId = e.target.getAttribute("data-remove");