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
This question is part of this quiz :