Jump to ratings and reviews
Rate this book

Reactive Programming with RxJS 5: Untangle Your Asynchronous JavaScript Code

Rate this book

Reactive programming is revolutionary. It makes asynchronous programming clean, intuitive, and robust. Use RxJS 5 to write complex programs in a simple way, and master the Observable: a powerful data type that substitutes callbacks and promises. Think about your programs as streams of data that change and adapt to produce what you want. Manage real-world concurrency and write complex flows of events in your applications with ease. Take advantage of Schedulers to make asynchronous testing easier. The code in this new edition is completely updated for RxJS 5 and ES6.


Create concurrent applications with ease using RxJS 5, a powerful event composition library. Real-world JavaScript applications require you to master asynchronous programming, and chances are that you'll spend more time coordinating asynchronous events than writing actual functionality. This book introduces concepts and tools that will greatly simplify the process of writing asynchronous programs.


Find out about Observables, a unifying data type that simplifies concurrent code and eases the pain of callbacks. Learn how Schedulers change the concept of time itself, making asynchronous testing sane again. Find real-world examples for the browser and Node.js along the way: how about a real-time earthquake visualization in 20 lines of code, or a frantic shoot-'em-up space videogame? You'll also use Cycle.js - a modern, reactive, web framework - to make a new breed of web applications.


By the end of the book, you'll know how to think in a reactive way, and to use RxJS 5 to build complex programs and create amazing reactive user interfaces. You'll also understand how to integrate it with your existing projects and use it with the frameworks you already know. All the code in this new edition has been thoroughly revised and updated for RxJS 5, ES6, and Cycle.js Unified.


What You Need:




NodeJS 6.x and a modern web browser

145 pages, Kindle Edition

First published December 25, 2015

22 people are currently reading
87 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
20 (26%)
4 stars
36 (47%)
3 stars
18 (23%)
2 stars
2 (2%)
1 star
0 (0%)
Displaying 1 - 9 of 9 reviews
Profile Image for Marc Udoff.
153 reviews7 followers
January 31, 2016
This is an excellent introduction to RxJS. Written very clearly, it provides compelling reasons why you should consider reactive extensions (Rx) with great examples using RxJS to show why its useful. Unlike some other books, it tries to be short and to the point. If you just read the preface, and first two or three chapters you will be have a basic understanding of the point of RxJS - the rest is really just (important) sugar on top if decide to start really using it.
111 reviews
October 24, 2016
Read it a while ago, but still hold the opinion that this book is almost like a reference for Rx library.

Concise, accurate, examples are mostly real-life applications of RxJs and/or games that you can build on. This makes the book even more useful.
Profile Image for CyberMonk.
67 reviews4 followers
March 18, 2024
One of the greatest programming books I've ever read. Short, not complicated, everything to the point.
Profile Image for Vitaly.
39 reviews
January 17, 2017
Well written introductory book to power of Rx with well formed examples in RxJs. Style is clean and clear, which helps a lot with getting through the presented material, good for getting started by providing the right practical purposes to illustrate the power of Reactive extensions.
Profile Image for Dmitriy Rozhkov.
80 reviews290 followers
June 30, 2018
Good one evening intro into RxJs. I'd like to see more advice on how to tame and till make sense of streams when they infest a larger application. If you new to rxjs and Observable pattern in general - do read the book. If you more on the advanced side - chapter on Schedulers could be interesting.
Profile Image for Georgii.
5 reviews
January 16, 2016
Very concise and well-written book, that explains RX concepts
Profile Image for Jobaer Chowdhury.
9 reviews
April 16, 2016
A good, example driven book to learn about reactive programming using RxJS. A recommended read.
8 reviews
June 16, 2024
200 行不到的代码写个打飞机的游戏。
Displaying 1 - 9 of 9 reviews

Can't find what you're looking for?

Get help and learn more about the design.