Hi,
I am looking for a better way to make a deeply nested object reactive with the F7 store and F7-Vue
This is my state:
level: {
idk:{
something:true
}
floor: {
p1: '1',
p2: '2',
p3: '3',
}
}
This is the action
state.level = Object.assign({}, state.level, {
floor: {
...state.level.floor,
p1: 15
}
});
And this I the getter
p1({
state
}) {
return state.level.floor.p1
},
I think and hope that there is a better way to make the getter “p1” reactive, but at the moment I have only found this one.
Thanks