how to pass parameter to event function in react code example
Example: how to pass a value to a react funtion without immediately firing it
<button onClick={(e) => {
this.clickMe(e, someParameter)
}}>Click Me!</button>
<button onClick={(e) => {
this.clickMe(e, someParameter)
}}>Click Me!</button>