Hover States with React Hooks

twitter logo github logo ・1 min read

Part of "Hooks videos" series

Third video time, I might keep this daily schedule until university starts back next semester!

This is definitely a series now, it has its own repo and everything:

In this tutorial, we'll be creating a useHover hook, that allows our components to know about the hover state of any element that we attach a ref to!

As always, any feedback is highly appreciated (please let me know if there's anything you think I could explain better), thanks for reading and/or watching!

twitter logo DISCUSS
Classic DEV Post from Mar 6

10 Lessons Learned Conducting Code Reviews

Advice on improving your team's code review process through better communication and setting standards.

Spacie profile image
Hiya! I'm just a peep with a love of code, cats, and the cosmos~ "When I die I'm going to callback hell." - Spacie 2019

Sore eyes?

dev.to now has dark mode (in public beta).

Go to the "misc" section of your settings and select night theme ❤️