Synchronize React UI and State with Controlled Components
lessonDuration 3m 41s
We’ll make the input field a “controlled component” by reacting to each change of the input and capturing it in the component state. Following this model gives us assurance that the UI is always a representation of the current application state.