4 ms·
What did you use it for, specifically? A personal project, or did you work on something that already used it heavily? I’ve played with it, and it’s interesting,
by roblh 2y ago
What did you use it for, specifically? A personal project, or did you work on something that already used it heavily? I’ve played with it, and it’s interesting, but I haven’t quite found a reason to use it yet.
- miiiiiike 2y agoI 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.