English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 0h 57m | 163 MB
The RxJS JavaScript library is designed for reactive programming using observables. With observables, you “watch” the data stream, passively listening for an event. Applications can detect changes instantly—in real time—without unnecessary network calls. This course helps explain exactly what an observable is, and shows how to use RxJS to create and subscribe to observables and leverage subjects—a specialized type of observable—for fine-grained control. Instructor Bonnie Brennan also shows how to filter, sort, and modify data with operators. Then, see how it all comes together in an interface that allows users to input search terms and get instant results from an online source like Reddit.
Note: The demonstrations use RxJS with Angular. However, users of other JavaScript frameworks such as React or Vue will also benefit from the lessons in this course.
Topics include:
- Creating observables with rx.observable.create
- Subjects, including behavior and replay subjects
- RxJS operators
- Creating an observable from a UI element
Table of Contents
Introduction
1 Welcome
2 What you should know
3 Using the exercise files
Asynchronous and Reactive Programming
4 Evolution of asynchronous programming
5 The observer pattern
6 Explore the ReactiveX website
7 Database observables
Let’s Write Some Code
8 Set up an Angular project
9 Create an observable
10 Subject
11 Behavior subject
12 Replay subject
Operators
13 take
14 map
15 filter
16 mergeMap
17 switchMap
User Interface
18 Observable from a button
19 Observable from input with debounce()
20 Wrap an API
Conclusion
21 Next steps
Resolve the captcha to access the links!