Why I use a view model stream for my Angular templates

Channel:
Subscribers:
81,900
Published on ● Video Link: https://www.youtube.com/watch?v=SXOZaWLs4q0



Category:
Tutorial
Duration: 15:11
29,759 views
1,180


Creating a single vm$ stream can be a convenient way to access all the data you need for your template, all with a single subscription using the async pipe.

Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076

Learn Angular with Ionic: https://ionicstart.com

Source code: https://github.com/joshuamorony/angular-vm-stream/blob/main/src/app/home/home.component.ts
Node REPL video: https://www.youtube.com/watch?v=Fl7kO8fDZFM
Hot/cold observables: https://www.youtube.com/watch?v=H542ZSyubrE

0:00 Introduction
1:12 How combineLatest works
4:54 Dealing with non-synchronous streams
8:13 Dealing with errors
14:26 Conclusion

#angular #rxjs

- More tutorials: https://eliteionic.com
- Follow me on Twitter: https://twitter.com/joshuamorony







Tags:
ionic
tutorial
tutorials
ionic tutorials
ionic framework
coding
coding tutorials
angular
angular tutorials
capacitor tutorials
mobile
mobile apps
apps
html5
ios
android
native
hybrid
pwa
web apps
progressive web applications
programming
stenciljs
stencil
performance
ui
ux
animations
screencast
rxjs
nx
ngrx
architecture