jaredly / rxvision

visualizer debugger for reactive streams
http://jaredly.github.io/rxvision/
426 stars 32 forks source link

What to use instead? #15

Open Sigfried opened 7 years ago

Sigfried commented 7 years ago

Hi. The readme says you're not using this or RxJS. Are you using something else instead of RxJS? I happened here because I'm thinking of starting to use RxJS for a project and thought this might ease my learning curve. But maybe there are better choices?

jaredly commented 7 years ago

I gave a talk about Observables vs CSP vs Promises vs Callbacks that you might find interesting https://www.youtube.com/watch?v=FSJEbFhjPHk In general, I've found RxJS & friends to be overkill for web development projects - there's a rather high abstraction cost you pay, and the debugging experience is terrible, and it's imo pretty uncommon that the benefits outweigh the costs.

I do a lot of mobile development now (at KhanAcademy), and we use RxJava & ReactiveCocoa on Android and iOS, and I'm glad we use them. Observables are really well suited to handling complex streams of data, events, network requests, etc. that I think are much more common on the "backend" than the "frontend".

Hope this helps! Also, you'll want to check out Andre's talk if you haven't seen it yet https://www.youtube.com/watch?v=3a98OPJWFPY