Notes from a beginner's perspective on things that may trip you up when you start using React, the JS interface library
To work properly and allow user modification, form element components like <input>
s must:
- set the value attribute of the element using the component state, e.g.
value={this.state.value}
- rely on an
onChange
handler to keep the component state in sync with the element value e.g.
``