DEV Community

Discussion on: Hoverable Component with Render Props

Collapse
 
nicolasletoublon profile image
Nicolas Letoublon

I have the same implementation.
And I encounter many issues whenever you are going super fast between many elements. It's like the state gets lost, and I saw that going that fast, many onMouseEnter / onMouseLeave gets forgotten, so the hovered state stays even if you are elsewhere...
Do you have tried that ?