suppose I have a Vuex store: with such a structure
https://jsfiddle.net/liqi0816...</a>
root
people: { name }
age: { value }
gender: { value }
this structure actually has dependencies, age and gender depend on people . If people changes, age and gender should at least reset to an uninitialized state. The question now is, how do you write the "?" in the above code? Try .. / , which is not supported.
this is a simplified problem. In the actual project, age and gender are very large, so it is impossible to cancel namespaced . Or should not have used module? in the first place?
further, what should I do if people is registered dynamically and it is impossible to know the path name of people in advance?
Thank you
