Overview
This is a quick introduction into the concept of Reactive Programming in Angular 2 with RxJS.
The subject of Reactive Programming is large enough to warrant it’s own course and indeed there are a number of books and courses which deal with nothing other than reactive programming with RxJS.
So the goal of this section isn’t to give you a complete understanding, the goal is to demystify the concepts so you understand what it is and where you can learn more.
Angular uses RxJS for some parts of it’s internal functioning. If you want you can also choose to use RxJS but you don’t need to at all.
Important
At the end of this section you will:
-
Understand the terms Stream & Reactive Programming.
-
Know what Observables are and how they are related to RxJS.
-
Know how to write reactive code using pure RxJS.
-
Know what operators are, where to read up on the breadth of available operators and how to understand them by using marble diagrams.
-
Know the places you can use reactive programming in Angular and code up a simple form using RxJS.