Is it possible to store an object in the state of a React component? If yes, then how can we change the value of a key in that object using setState? I think it
setState
Easier way to do it in one line of code
this.setState({ object: { ...this.state.object, objectVarToChange: newData } })