Working with observables
Reactive programming requires us to change the way that we think about events in an application. Reactive programming requires us to think about events as a stream of values. For example, a mouse click event can be represented as a stream of data. Every click event generates a new value in the data stream. In reactive programming, we can use the stream of data to query and manipulate the values in the stream.
We are going to use the Reactive Extensions Library for JavaScript (RxJS). RxJS provides us with an implementation of the observable pattern, as well as many operators and utilities that allow us to manipulate the observables. RxJS also includes helpers that allow us to create observables given different data ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access