3 ms·
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 fra
by efortis 3y ago
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 details
https://blog.uidrafter.com/architecture-of-a-desktop-alike-spa https://blog.uidrafter.com/architecture-of-a-desktop-alike-s...
- giankam 3y agoYep, I do the same.