Integrating NGXS into Angular 16 (the best state management solution)
ฝัง
- เผยแพร่เมื่อ 31 พ.ค. 2024
- Brief video demo of how to integrate NGXS into angular 16 (standalone project, ) how to enable redux dev tools, define actions, create state, dispatch actions, and retrieve state value with the Select directive.
0:00 intro
1:02 dependency installation
2:40 add ngxs provider to app.config file with `importProvidersFrom()`
4:04 enabling redux devTools
5:30 setting up folder structures
6:50 creating actions
10:55 creating states
18:10 dispatching actions
20:05 adding defined state to provider
20:45 retrieving state value from store
25:10 conclusion
#ngxs #angular #webdevelopment
Thank you very much, this video is so helpful!
Awesome video 🔥🔥🔥
"Promo sm" 🤷
Promo sm? What's that mean lol?