Practice
If you are using ES6 or the Babel transpiler to transform your JSX code, you can do this with computed property names .
handleInputChange(event) {
this.setState({ [event.target.id]: event.target.value })
}
Sign in and the lectures you have studied will be marked in this list.
Choose a course
Comments