YoVDO

RxJS Subjects and Multicasting Operators

Offered By: egghead.io

Tags

RxJS Courses

Course Description

Overview

Note: RxJS imports have changed since the publication of this course. The concepts being taught on RxJS are still applicable.
RxJS Subjects are a source of confusion for many people using RxJS. For many, the Subject is the obvious and only answer to every problem. Subjects are incredibly useful and necessary, but the key is to know when to use them for solving specific problems that you encounter.
In this course, we are going deep into RxJS Subjects and multicasting operators. You'll gain a solid understanding of when, where, and how to use these powerful tools.
If you are new to RxJS, or want a refresher please check out this course Introduction to Reactive Programming.

Syllabus

  • An Observable execution may only have one Observer
  • Subject: an Observable and Observer hybrid
  • Using a Subject as an Event Bus
  • BehaviorSubject: representing a value over time
  • ReplaySubject: remembering events from the past
  • AsyncSubject: representing a computation that yields a final value
  • Connection operator: multicast and connect
  • Stopping a shared observable execution
  • RefCount: automatically starting and stopping an execution
  • Multicasting shortcuts: publish() and variants
  • Reusable multicasting with Subject factories
  • Multicast with a selector argument, as a sandbox
  • Conclusion: when to use Subjects

Taught by

André Staltz

Related Courses

Front-End JavaScript Frameworks: Angular
The Hong Kong University of Science and Technology via Coursera
Angular 9 Essencial
Udemy
Reactive Angular Course (with RxJs, Angular 18)
Udemy
RxJs In Practice (with FREE E-Book)
Udemy
The Modern Angular Bootcamp
Udemy