-
Notifications
You must be signed in to change notification settings - Fork 60
Description
Is it possible right now to disable node reuse? I would like to implement undo/redo semantics on top of indextree, and that would likely be much easier if I could remove nodes at some point (e.g., delete operation), store the NodeId, and then reinstate them using the same id (e.g., on undo). It sounds like I may not be able to do that though because the node could have been reused in between the delete and undo operations and so even if I put the deleted node data back in its original place, any id references to it would no longer be valid.
Am I understanding that correctly? Has this come up before/do you have recommendations for this use case? I have some ideas for how to work around this behavior, but it would be great to get your thoughts.