Removal of nodes that have back references results in more than one patch, meaning undoManager.undo requires multiple calls to restore a node and its references.
Since the references get removed by virtue of the node not existing any more, would something like wrapping my action that removes the node in a transaction decorator help here?
Regarding: https://github.com/xaviergonz/mobx-keystone/issues/150#issuecomment-750711035
Removal of nodes that have back references results in more than one patch, meaning undoManager.undo requires multiple calls to restore a node and its references.
Since the references get removed by virtue of the node not existing any more, would something like wrapping my action that removes the node in a transaction decorator help here?