LiveLoveApp logo

What is RxJS?

What is RxJS?

RxJS provides reactive extensions for JavaScript.

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

License

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

  • For commercial use
  • Allows for modifications
  • Allows distribution
  • It can be used within patented works
  • It 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. 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