In this lesson we will dive a bit more into the tree semantics of MST.
In this lesson you will learn:
getParent
to find the parent of a model instancedestroy
to remove an instance entirely from the treeCan you delegate the method to remove the item from the top of the tree? Without parent()?
Does MST need to define all action on the top level of the model? Can it be modularized? So the model's nested branch can be defined in a separate file together with some actions to operate only on that branch?
Hey hipertracker,
These are quite extensive conceptual questions, best ask them at: https://spectrum.chat/mobx-state-tree where the community can chime in.
Thanks!