DEV Community

Cover image for Reactive Programming in JavaScript with RxJS.

Reactive Programming in JavaScript with RxJS.

Sagar on September 30, 2018

RxJS is JavaScript library for transforming, composing and querying asynchronous streams of data. RxJS can be used both in the browser or in the se...
Collapse
 
florimondmanca profile image
Florimond Manca

Great post!

The combination of theoretical aspects about Observables and practical examples is very relevant.

Also worth noting that RxJS is actually just the implementation of the ReactiveX (or Rx) API, which has been implemented in 18 languages.

So for example, if you want to do Rx in Python or Kotlin, you can! 🎉 (Though I'll admit I've only used Rx myself in the context of RxJS with Angular apps.)

Collapse
 
sagar profile image
Sagar

Thanks, @Florimond.

I have not any plan for writing Rx in other language but if developers want then I will write an article on Rx in python.

Collapse
 
tplk profile image
Dmitry Teplov

It would be nice to update examples with pipeable operators since Observable monkey patching was removed in RxJS 6.

Collapse
 
oleksandr profile image
Oleksandr

I recently released my RxJS6 video course, so maybe you can be interested. This nice article topic is also discussed there but for RxJS6. Here it is packtpub.com/web-development/hands... (Hope it is not abuse to put my related course links here?)

Collapse
 
sagar profile image
Sagar

I agreed with you Dmitry, in this post I was trying to introduce Rxjs for beginner developers. Later I will create another post on RxJS operators. Thanks for your feedback.

Collapse
 
tplk profile image
Dmitry Teplov

introduce Rxjs for beginner developers

It's still better to teach beginners the correct way from the beginning, I guess.

Collapse
 
sadarshannaiynar profile image
Adarsh

Great article Sagar. Very indepth explanation on Observables. I just don't understand why RxJS hasn't picked up that much with it's advantages. I hope people start using it after reading your article.

Collapse
 
sagar profile image
Sagar • Edited

RxJS is powerful library around us but due to complexity people absolute ignore it. Bigger companies like Netflix, Google used rxjs in their project for handling massive amout of data. We should implement in our next project. Thank of response.

Collapse
 
migueloop profile image
Miguel Ruiz

Awesomemic! Thanks for the work!

Collapse
 
sagar profile image
Sagar

Thanks @Migule

Collapse
 
zilurrane profile image
Zilu Ramkrishna Rane

Much needed article.
Thanks Sagar:)

Collapse
 
sagar profile image
Sagar

I agreed with you @Zilu..

Collapse
 
phkla1 profile image
phkla1

This is the best introduction to Rx that I've found on the net. Keep writing!

Collapse
 
sagar profile image
Sagar

Thanks @phkla1 🙏🤗😁😀

Collapse
 
rrampage profile image
Raunak Ramakrishnan

Awesome post. What tool do you use for the diagrams?

Collapse
 
sagar profile image
Sagar

Usually I prefer balsamiq but in this article I used draw.io web application.

Collapse
 
vyasriday profile image
Hridayesh Sharma

Great introduction to Rxjs

Collapse
 
sagar profile image
Sagar

Thanks Hridayesh..