Jump to ratings and reviews
Rate this book

RxJS in Action

Rate this book
Summary

RxJS in Action gives you the development skills you need to create reactive applications with RxJS. This book is full of theory and practical examples that build on each other and help you begin thinking in a reactive manner. Foreword by Ben Lesh, Project lead, RxJS 5.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

On the web, events and messages flow constantly between UI and server components. With RxJS, you can filter, merge, and transform these streams directly, opening the world of data flow programming to browser-based apps. This JavaScript implementation of the ReactiveX spec is perfect for on-the-fly tasks like autocomplete. Its asynchronous communication model makes concurrency much, much easier.

About the Book

RxJS in Action is your guide to building a reactive web UI using RxJS. You'll begin with an intro to stream-based programming as you explore the power of RxJS through practical examples. With the core concepts in hand, you'll tackle production techniques like error handling, unit testing, and interacting with frameworks like React and Redux. And because RxJS builds on ideas from the world of functional programming, you'll even pick up some key FP concepts along the way.

What's Inside

About the Reader

This book is suitable for readers comfortable with JavaScript and standard web application architectures.

About the Author

Paul P. Daniels is a professional software engineer with experience in .NET, Java, and JavaScript. Luis Atencio is a software engineer working daily with Java, PHP, and JavaScript platforms, and author of Manning's Functional Programming in JavaScript.

Table of Contents

352 pages, Paperback

Published August 4, 2017

21 people are currently reading
96 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
15 (29%)
4 stars
26 (50%)
3 stars
8 (15%)
2 stars
1 (1%)
1 star
1 (1%)
Displaying 1 - 6 of 6 reviews
Profile Image for Temo Tchanukvadze.
54 reviews8 followers
February 12, 2019
RXJS is a mystery and this book helped me to implement it "in Action". It gave me some good insights about declarative programming. I do highly recommend read Rxjs in Action with Professor Frisby's Mostly Adequate Guide to Functional Programming or any FP book to grasp the concept of FRP.
Profile Image for Dmitry Marcautan.
21 reviews4 followers
July 25, 2018
Beware the book is based on RxJS 5 which is outdated now and replaced by version 6 that introduces completely revamped piping constructs. Though not really an issue as it teaches mostly 'approaching' problems with reactive mindset. A chapter on integration with Redux was also a usable addition to me.
13 reviews
March 11, 2018
Great book! But before reading it you should try to learn more about Functional Programming principles. For example, FP in JavaScript. Also regarding the last chapter it will be great to have some background knowledge of using Redux and React.
Profile Image for David.
Author 1 book121 followers
June 10, 2019
I hate to give this such a poor review, especially after author Luis Atencio was so gracious and personable in his communication with me on the Manning Live Book website version of this text - I know he cares.

But about halfway through the book, I figured out what bothered me about it:

Functional programming is about purity and lack of side-effects, right?

Well, then isn't it ironic how much this book depends on the outside world in order to function? What I mean by that is that so few of the examples are stand-alone and complete.

Obviously we need to have the RxJS library itself. That's an understandable dependency.

But this book's examples require all sorts of external libraries and APIs (many of which no longer exist or have changed substantially.) One of the examples even required that I create accounts on services.

I might even forgive the use of other external libraries, but they're seldom used more than once or twice. Then it's on to the next one. The result is that you're constantly installing and learning new things and getting distracted from the core issue: learning RxJS!

And quite frankly, RxJS is plenty hard to learn all on its own.

Also, many of the examples flat out won't work as-is.

As for the body of the text, it varies greatly in quality. Some of it is fine, but there is a ton of redundant text, particularly near the beginning which does not help elucidate anything. Most of it is no more helpful than, "RxJS is really great."

Sadly, I challenge anyone who is not already an expert on the subject to learn anything from the final chapters.

I absolutely did learn things from this book - particularly the "early middle" chapters. But I cannot recommend it over website tutorials and official documentation. :-(
Profile Image for vesper.
86 reviews
May 19, 2018
Rx is huge and the book feels like a gentle introduction to it (albeit in slightly more than 300 pages), but I find both the introduction and the "in the wild" part somewhat lacking (and I'm not exactly sure what's in between). The intro has to deal with functional programming aspects and scratch the surface of advanced topics we never dwell on, while the ending part to me lacked real life usage, I only got the react (no jsx, uhh) part, but the whole "epic" (as opposed to sagas and thunks) thing was way above my level.

Probably there is no good middle ground here, either you arrive with the required fp background (and know about streams, event emitters, event buses, circular stores, concepts of immutability, used ramda or lodash-fp before) or you're spoon fed some sugary bits, given some examples how RxJs works and then you're thrown into the pool with epics. If you know how to swim, you already are here as a swimmer, if not, you will probably know **about** swimming, but you will drown nevertheless.
Profile Image for Matthew Phan.
5 reviews
December 27, 2023
outdated (RxJS version before pipe operator and React version still using class based components) but good to grasp the principles of reactive programming
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.