Events exist in many programming languages. They allow us to specify logic to be executed, depending on how a user interacts with our app.
We need to be able to control what the buttons do in our Confirm component. Follow these steps:
- The first step is handling the...