SyntaxFix
Write A Post
Hire A Developer
Questions
Can use a spread syntax, something like this:
inputChangeHandler : function (event) { this.setState( { ...this.state, [event.target.id]: event.target.value } ); },