Skip to main content

RxJS

Think of RxJS as Lodash for events. Compose asynchronous and event-based programs using observable sequences with a powerful suite of operators.

Get Started

Start building reactive applications with RxJS in minutes.

Installation

Install RxJS using npm, yarn, or pnpm

Quickstart

Create your first Observable in under 5 minutes

Core Concepts

Master the fundamental building blocks of reactive programming.

Observable

Invokable collections of future values or events

Observer

Callbacks that listen to Observable values

Operators

Pure functions for transforming sequences

Subject

Multicast values to multiple Observers

Subscription

Manage Observable execution lifecycle

Scheduler

Control concurrency and timing

Powerful Operators

Transform, filter, and combine streams with 100+ operators.

Creation Operators

Create Observables from events, promises, arrays, and more

Transformation Operators

Transform emitted values with map, scan, buffer, and switchMap

Filtering Operators

Select specific values with filter, take, debounce, and distinct

Combination Operators

Combine multiple streams with merge, concat, and zip

Why RxJS?

Composable

Chain operators to build complex async logic from simple, reusable pieces

Powerful Error Handling

Gracefully handle errors with retry, catchError, and fallback strategies

Cancellation Built-in

Cancel async operations cleanly with unsubscribe

Tree-shakeable

Modern modular architecture keeps your bundle size minimal