Memento : Design Patterns in TypeScript
Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=A3K_cdkIpmQ
https://www.amazon.com/dp/B0948BCH24 : ASIN B0948BCH24
https://www.amazon.com/dp/B094716FD6 : ASIN B094716FD6
Documentation : https://sbcode.net/typescript/memento/
Throughout the lifecycle of an application, an objects state may change. You might want to store a copy of the current state in case of later retrieval. E.g., when writing a document, you may want to auto save the current state every 10 minutes. Or you have a game, and you want to save the current position of your player in the level, with its score and current inventory.
You can use the Memento pattern for saving a copy of state and for later retrieval if necessary.
#mementoPattern
#typescriptMemento
#mementoPatternTypescript
Other Videos By SBCODE
Tags:
Design Patterns In TypeScript
TypeScript
Design Patterns
memento
memento pattern