react binding add event handlers in hooks code example Example: react button onclick <button onClick={sayHello}>Click</button>