Example:
<ul>
<li name="one">1</li>
<li name="two">2</li>
<li name="three">3</li>
<li name="four">4</li>
<li name="five">5</li>
<li name="six">6</li>
</ul>
Each element is necessary to prescribe -
onMouseOver={() => this.hover(event.target.getAttribute('name'))}
onMouseOut={() => this.hover(false)}
There are a lot of elements, is it possible to specify these handlers without prescribing them to each element?