This is a vue/vuex app and we have an object: myObject
, that has a set of children: myObject.kids
.
.kids
is not loaded when the object is initially loaded by vuex.
Now I want to create a component that works on .kids
.
What is the vue/vuex approach to this situation?
Should I create a root-level set to hold the kids or is there a way to load them (via ajax) into the myObject already in the store?