Quantcast
Channel: Stories by Flaha on Medium
Viewing all articles
Browse latest Browse all 85

So you’re creating a Subject ( share() ), then you’re creating one more subscription with concat.

$
0
0

So you’re creating a Subject ( share() ), then you’re creating one more subscription with concat. Redundant work, and memory for something so simple.

Moreover, it’s less readable for someone who isn’t super familiar with Rx.

Keep it simple.


Viewing all articles
Browse latest Browse all 85

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>