Comment Comment by efortis Undo. I use it in UI Drafter for handling Undo.For example, I create a revision of a store (a deep clone) and apply the undo frames one-by-one.Each undo frame has the setter name and its arguments. IOW, the frames contain what changed, such as: [ [BASE.setCard, 'some-id', CF.title, 'The New Title'], …more frames ] Here's a post with more detailshttps://blog.uidrafter.com/architecture-of-a-desktop-alike-s... parent efortis 2 years ago
For example, I create a revision of a store (a deep clone) and apply the undo frames one-by-one.
Each undo frame has the setter name and its arguments. IOW, the frames contain what changed, such as:
Here's a post with more detailshttps://blog.uidrafter.com/architecture-of-a-desktop-alike-s...