RxJS in Angular: Terms, Tips, and Patterns

RxJS in Angular: Terms, Tips, and Patterns

35.717 Lượt nghe
RxJS in Angular: Terms, Tips, and Patterns
Confused by all of the RxJS terms? I define the terms, provide some tips, and some common patterns for using RxJS with Angular. *Links* Sample RxJS code: https://github.com/DeborahK/Angular-ActionStreams Sample RxJS code: https://github.com/DeborahK/Angular-ReactiveDevelopment 00:00 Welcome 00:38 Terms 00:49 Observable 02:09 Why use an Observable? 03:32 What does an Observable do? 04:38 Marble diagrams aid in visualizing an Observable 05:37 Angular creates Observables 07:01 Subscription 08:41 Observer 11:15 Pipes 13:31 Patterns: Thinking about RxJS 14:43 Sample application 15:17 Classic pattern for data access 16:04 Declarative data access pattern 18:45 Retrieve on action pattern 20:22 Subject and Behavior Subject 26:28 Subscribe to an inner Observable and flatten the result with a higher-order mapping operator 26:38 Higher-order mapping operators 28:35 switchMap vs concatMap or mergeMap 30:27 Shape on action pattern 32:13 Combination operators: combineLatest, merge, forkJoin 35:05 Retrieve related data pattern 40:40 Key points ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 😊About Me Hey! I'm Deborah Kurata I'm a software developer and YouTube content creator. I speak at conferences such as VS Live and ng-conf. I write articles for freeCodeCamp. And I'm a Pluralsight author with courses in the top 10 most popular (out of 10,000+) over the past 5 years. Courses include: "Angular: Getting Started", "Angular Routing", "RxJS in Angular: Reactive Development" and "Object-Oriented Programming Fundamentals in C#". For my work in support of software developers, I've been recognized with the Microsoft Most Valuable Professional (MVP) award, and I'm a Google Developer Expert (GDE). View my YouTube content: https://www.youtube.com/@deborah_kurata Contact me on Twitter: https://twitter.com/DeborahKurata Find my Pluralsight courses: https://www.pluralsight.com/profile/author/deborah-kurata Access my freeCodeCamp articles: https://www.freecodecamp.org/news/author/deborah-kurata/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ #rxjs #observable #rxjsangular #rxjsinangular #angularrxjs #rxjsoperators #rxjstutorial #kurata #angular #angular_developer #angulartraining