React | React Forms | Question 4

Last Updated :
Discuss
Comments

What is the purpose of the onChange event in React forms?

To submit the form

To update the state with the current input value

To initialize the form

To clear the input value

Share your thoughts in the comments