react function pass event and other parameters 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>