LiveLoveApp logo

What is RxJS?

What is RxJS?

RxJS provides reactive extensions for JavaScript.

RxJS is an open-source library that provides an implementation of the Observable primitive (and more). We'll learn more about how this primitive differs from Promises.


RxJS is licensed under the Apache 2.0 license, providing permission:

  • For commercial use
  • Allows for modifications
  • Allows distribution
  • Can be used within patented works
  • Can be used for private use

This license limits:

  • Trademark use
  • Liability
  • Warranty

Use in Angular

RxJS is a dependency of the Angular framework from Google. This means that RxJS is widely used both in the framework and by developers using Angular for building modern Single Page Applications.

Essential Concepts

Today, we'll learn the following essential concepts:

  • The Observable primitive
  • An Observer
  • A Subscription
  • Operators for flow control