How does Vuex: communicate information between parent and child modules?

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

Mar.25,2021

Why should vuex be used to transmit information between parent and child modules

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b39363-2c16b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b39363-2c16b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?