Command & Memento Patterns in Typescript (No BS TS Series 2 Episode 4)

Let’s have a look at the Command and Memento Design Patterns in TypeScript and see how to implement Undo, and time-travel state management the easy way. We even build out a custom hook that adds undo functionality to useState! Code: I have a book out on TypeScript that gets updated with a new chapter every time I add a new No BS TS episode. Check it out! 👉 What’s my theme? Night Wolf [black] 👉 What’s that font? MonoLisa 👉 Jack is also on the React Round Up podcast: 👉 Don’t forget to subscribe to this channel for more updates: 👉 Discord server signup: 00:00 Introduction 00:49 Architecture ... #JackHerrington #No_BS_TS #No_BS_TS_Series_2 #typescript_design_pattern #javascript_design_patterns #software_design_patterns #jack_herrington #jack_herrington_typescript #Typescript_Design_Patterns #gof_design_patterns 20211021 H2kxc_ZrSPI