Netanel Basal
1 min readApr 25, 2020

--

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.

--

--

Netanel Basal
Netanel Basal

Written by Netanel Basal

A FrontEnd Tech Lead, blogger, and open source maintainer. The founder of ngneat, husband and father.

Responses (1)