how to pass an event and a parameter in function 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>