Direction: Choose the correct option
Q1.
How can you pass an argument to an event handler in React?
Direction: Choose the correct option
Q2.
In an arrow function event handler like onClick={() => handleClick(id)}, what is the event object?
Direction: Choose the correct option
Q3.
Using .bind, how do you access the event?
Direction: Choose the correct option
Q4.
What is the output if you have: and handleClick(arg, e) { console.log(arg, e); }?
Direction: Choose the correct option
Q5.
Which approach avoids creating a new function on every render when passing arguments?
