useHover

This hook returns a boolean value when the user enters or leaves the referenced element.

Values

hover:

Returns hover state

watch:

references to the element | implement with the spread operator => {...watch}