Introduction
Passing arguments to handlers lets you send extra information when a user interacts with your app. This helps your app respond in different ways based on what you send.
You want to know which button was clicked in a list of buttons.
You need to send a specific value when a user clicks a button.
You want to pass extra data to a function when an event happens.
You want to reuse one handler but with different inputs.