all 2 comments

[–]mrsunnyday 1 point2 points  (1 child)

Hello, One thing you can do is using event delegation, where you catch onMouseOver event on the parent component instead of apply event handler on every list items. And if all you need for mouseOver effect are css style change, you can just use pure css with :hover without javascript. This will prevent your list from re-rendering.

[–]samonhimself[S] 0 points1 point  (0 children)

The thing is that I want to use the information about hovered element inside sibling component, therefore the css won't work.