0

I have just started developing with React so I might do this completely wrong, but I have a component that changes some icons when it is hovered, so I updated the state onMouseEnter and onMouseOut and it does what I expect it to do. My issue is that each time I hover the component and the state gets updates, the browser's refresh button and the favicon are flickering. Do you have any idea why this happens and what can I do to stop this behaviour? It is visually annoying. Thank you!

nightfury
  • 74
  • 5

0 Answers0