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