Answer the question
In order to leave comments, you need to log in
How to add event handlers when updating a component Or why the event does not work?
There is a class component with conditional rendering:
<div id="deskresult" className={'col'}
{this.state.selected.length === 4 &&
[0, 1, 2, 3].map((item, index) =>(
<button
className='hidden-button'
onMouseOver={() => this.dragPoint( item)}
/>
))}
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question