how to pass event and another param 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>