The past few weeks have brought a lot of change all over the world. Here at Level Up, we hope you're taking appropriate actions to protect yourself and those around you from the spread of COVID-19. Because many of you are stuck at home, we've put all courses and the yearly subscription (Level Up Pro) 50% off until you unsubscribe.
Stay safe. - Scott Tolinski

Save 50%


*Paid annually

card background pattern
Level 2

Custom React Hooks

Unlock Full Course

$49.99 $24.99



Binding Events with UseHover

Here we take a look at binding to DOM elements via hooks. We will use several existing react hooks in coordination to build a hook that determines if an element has been hovered over.



about 1 month ago

You highlighted isHovered and did something to immediately console.log() it on the next line. Was that a snippet or is there an extension for that?

about 1 month ago

@Ardie I hope he reads this :D

about 1 month ago

Still not 100% clear on why useMemo was used....

about 2 months ago

Hey Scott, Why is onMouseOver firing twice?

2 months ago

Hey Scott, you can use the “rafce” snippet instead of “rafc” if you want to include the default export.

Something to say?

Become a Pro