Know when the mouse if hovering over an element
hoverRef: Ref: add this to the desired hover elementisHovered: Bool: Whether or not the mouse is currently hovering over element
import { useHover } from "react-recipes";
function App() {
const [hoverRef, isHovered] = useHover();
return <div ref={hoverRef}>{isHovered ? "π" : "βΉοΈ"}</div>;
}