I\'m trying to organize my state by using nested property like this:
this.state = { someProperty: { flag:true } }
But updating
stateUpdate = () => { let obj = this.state; if(this.props.v12_data.values.email) { obj.obj_v12.Customer.EmailAddress = this.props.v12_data.values.email } this.setState(obj) }