DEV Community

Discussion on: RxJS and Angular, I'm not feeling it

Collapse
 
mlcmlapis profile image
Miloš Lapiš • Edited

RxJS concept is wider and more general than promises so are you suggesting that instead of using one building block you recommend using the mixing of two blocks? Where is the advantage? You make it just more complicated.

Not sure, but it would be probably a good idea to read a bit more about RxJS before making such a strong suggestion as rewrite it from the beginning.

Collapse
 
vivainio profile image
Ville M. Vainio

The advantage of mixing is that code is usually more readable with async/await, when single value is being produced.

I’m not suggesting rewriting anything, but rather being more open to using Promises in own and library code.