I have 2 buttons. For the first button, I attached the event handler with the onClick prop while for the second button, I used native addEventListener() method. State update