Supaship | @ngrx/store - IN ONE FILE!!! @Supaship6000 | Uploaded February 2021 | Updated October 2024, 3 hours ago.
Perfect intro for your team to ngrx/store!!
Tips and thoughts to help create a solid, systemized state management solution!
GTFO with your "BOILERPLATE" - we're doing this in 1 file!!
=== Links ===
Follow along with this repo: github.com/ZackDeRose/ngrx-pizza-example-app
Solution found in the `final` branch, which you can checkout via the command: git checkout final
Stackblitz for the starting point (fork if you want to follow along!): stackblitz.com/edit/ngrx-pizza-example-app-starter
Stackblitz for the final: stackblitz.com/edit/ngrx-pizza-example-app-finished
Advanced article on selectors: dev.to/zackderose/ngrx-fun-with-createselectorfactory-hng
NgRx Official Docs: ngrx.io
=== Chapters ===
00:00 Introduction
00:16 Cloning repo, installing dependencies, and starting serve
01:48 Laying out app structure
02:48 Creating actions
05:16 Shameless Groveling for likes
05:40 Writing our reducer code
12:14 Creating selectors
27:50 Importing StoreModule to our AppModule
30:00 Hooking up our Component class
34:11 Adjusting our Component Template
Perfect intro for your team to ngrx/store!!
Tips and thoughts to help create a solid, systemized state management solution!
GTFO with your "BOILERPLATE" - we're doing this in 1 file!!
=== Links ===
Follow along with this repo: github.com/ZackDeRose/ngrx-pizza-example-app
Solution found in the `final` branch, which you can checkout via the command: git checkout final
Stackblitz for the starting point (fork if you want to follow along!): stackblitz.com/edit/ngrx-pizza-example-app-starter
Stackblitz for the final: stackblitz.com/edit/ngrx-pizza-example-app-finished
Advanced article on selectors: dev.to/zackderose/ngrx-fun-with-createselectorfactory-hng
NgRx Official Docs: ngrx.io
=== Chapters ===
00:00 Introduction
00:16 Cloning repo, installing dependencies, and starting serve
01:48 Laying out app structure
02:48 Creating actions
05:16 Shameless Groveling for likes
05:40 Writing our reducer code
12:14 Creating selectors
27:50 Importing StoreModule to our AppModule
30:00 Hooking up our Component class
34:11 Adjusting our Component Template