August 2018
Intermediate to advanced
248 pages
5h 51m
English
Memento is usually used when you need to provide some sort of undo and redo capability for your users.
Another usage is the implementation of a UI dialog with Ok/Cancel buttons, where we would store the state of the object on load, and if the user chooses to cancel, we would restore the initial state of the object.