SyntaxFix
Write A Post
Hire A Developer
Questions
const newState = Object.assign({}, this.state); newState.property.nestedProperty = "new value"; this.setState(newState);