|
|
|
|
|
by miiiiiike
615 days ago
|
|
I use it in several places in my company. Being able to compose multiple async streams of data is the best part. One simple example is a scroll tracker. I needed to track a user’s scroll, determine the direction, and combine it with touch events. I wrote a prototype using event handlers and the code descended into incomprehensible spaghetti pretty quickly. With RxJS I was able to implement it as a series of custom operators that were easy to write, test, and use. |
|