React · Junior · Question 57 of 75

When does onChange fire on a text input in React?

Explanation

React normalizes onChange to fire on each change, unlike the native change event that waits for blur. That makes controlled inputs possible.

Further reading

Problem with a question

React · Junior · question 57

Test yourself

Take the React · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz