DEV Community

Discussion on: From Promises to Observables

Collapse
 
rhinoandre profile image
André Rhino • Edited

Excellent article André!

I miss RxJS a lot, so I enjoy the opportunity to play around with your example.

I change it a little bit to make it looks more like RxJS than the Promise way, I just didn't find another operator to concatenate all the values into an array but emitting each intermediate array, like what scan does.
Please take a look at it here stackblitz.com/edit/learning-rxjs-... and let me know what you think about it.

Thanks again for the opportunity to read and play around with this amazing library.

Collapse
 
andrewevans0102 profile image
Andrew Evans

Thank you! Its really incredible how RxJS is able to increase performance and improve user experience. I looked at your code and see what you were doing there. Scan is really the best operator since it wraps all of the intended behavior with one operator. Glad you enjoyed the post, thanks for reading!