React | Event Handling | Question 2

Last Updated :
Discuss
Comments

In React, how do you pass an argument to an event handler?

Using an anonymous function

By using an arrow function in JSX

Using the bind() method inside the render function

By passing arguments directly to the event handler

Share your thoughts in the comments