Why I use a view model stream for my Angular templates @JoshuaMorony
Why I use a view model stream for my Angular templates  @JoshuaMorony
Uploaded September 2022 | Updated September 2026, 2 weeks ago
My modern Angular course: angularstart.com

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: ionicstart.com

Source code: github.com/joshuamorony/angular-vm-stream/blob/main/src/app/home/home.component.ts
Node REPL video: youtube.com/watch?v=Fl7kO8fDZFM
Hot/cold observables: 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: eliteionic.com
- Follow me on Twitter: twitter.com/joshuamorony
Why I use a view model stream for my Angular templatesRxJS made my code 5x shorter... but is it better?Should this be the future of Angular applications?Making route params easier with reactive codingngTemplateOutlet is WAY more useful than I realisedA workflow for complex open source contributionsRefactoring my ugliest code with signal view queriesThis new Angular primitive might actually be a viable alternative to RxJSA visual guide to switchMap and higher order observablesWhy does building an Angular app with INJECTION TOKENS feel so good?!The most compelling reason to learn Angular in 2023The easy way to GIT like the pros
Joshua Morony |

Why I use a view model stream for my Angular templates

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER