Learn how to setup state management infrastructure. I also cover key other key concepts, such as reactivity, loading data, and lazy initialization.
State management is crucial for keeping data in sync throughout an application. This concept is applicable to most front-end technologies, and is based off JavaScript state-management libraries, such as Redux.
TIMESTAMPS:
0:00 - Introduction
0:48 - Demo Introduction
2:35 - Stores
3:05 - Creating the PostStore
3:44 - Using the PostStore Data
5:25 - Creating Posts
6:21 - Setting up the Single PostStore Instance
7:47 - Making CreatePost Reactive
10:35 - Loading Posts (Asynchronously!)
14:34 - Making LoadPosts Reactive
15:48 - Lazy-Initializing Posts
19:18 - Conclusion
SOURCE CODE: github.com/SingletonSean/wpf-...
OTHER LINKS:
Become a Member: / @singletonsean
Donations: www.paypal.com/biz/fund?id=UB...
28 июн 2024