score:2

Accepted answer
const toggleHover = () => setHover(current => !current);

Related Query

More Query from same tag