I am trying to set the state for an object like this
vault:{
main:{
a:1,
b:2,
c:3
},
backup:{
d:4,
e:5,
f:6
}
}
when I this.setState({vault:{main:{a:10}}} it deletes all other entries,
I tried using the "underscore library" with the "extend"
How do I get around setting the state of part of a library? seems very strange that this is not possible...