Skip to main content
Back to course
Log in
Get started
Someone wanted to learn this too, so Grasp built them a personal learning path.
Create your own
RxJS for advanced React state
ยท
Module 3
Subjects and Multicasting
1
Subjects: The Observable Observer
Explain the dual nature of a Subject as both an Observable and an Observer.
Explain the dual nature of a Subject as both an Observable and an Observer.
2
Managing State with BehaviorSubject
Apply `BehaviorSubject` to manage state with an initial value and synchronous access to the current value.
Apply `BehaviorSubject` to manage state with an initial value and synchronous access to the current value.
3
Caching and Replaying Emissions with `ReplaySubject`
Use `ReplaySubject` to cache and replay a history of emissions to late subscribers.
Use `ReplaySubject` to cache and replay a history of emissions to late subscribers.
4
Sharing and Replaying Observables with `shareReplay`
Convert a cold Observable to a hot, shared Observable using the `shareReplay` operator to prevent redundant work.
Convert a cold Observable to a hot, shared Observable using the `shareReplay` operator to prevent redundant work.
5
Subjects vs. shareReplay: Shared Streams
Analyze the differences between Subjects and `shareReplay` for creating shared, multicasted streams.
Analyze the differences between Subjects and `shareReplay` for creating shared, multicasted streams.
Previous module
Core Operators and Stream Transformation
Next module
RxJS in the React Ecosystem