DEV Community

loading...

Hover States with React Hooks

spaciecat profile image Spacie ・1 min read

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!

Discussion (0)

pic
Editor guide