How can you achieve either a hover event or active event in ReactJS when you do inline styling?
I\'ve found that the onMouseEnter, onMouseLeave approach is buggy, so
I'd use onMouseOver & onMouseOut. Cause in React
The onMouseEnter and onMouseLeave events propagate from the element being left to the one being entered instead of ordinary bubbling and do not have a capture phase.
Here it is in the React documentation for mouse events.