What Is RxJS?

RxJS is a JavaScript implementation of the Reactive Extensions, or Rx.[2] Rx is a reactive programming model originally created at Microsoft that allows developers to easily compose asynchronous streams of data. It provides a common interface to combine and transform data from wildly different sources, such as filesystem operations, user interaction, and social-network updates.

Rx started with an implementation for .NET, but today it has a well-maintained open source implementation in every major language (and some minor ones). It is becoming the standard to program reactive applications, and Rx’s main data type, the Observable, is being proposed for inclusion in ECMAScript 7 as an integral part of JavaScript.

Get Reactive Programming with RxJS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.