DEV Community

Discussion on: React Context without Provider + useMutableSource

Collapse
 
ausmurp profile image
Austin Murphy

Great article will definitely look into this. But I do question, couldn't this behavior be achieved with way less code using RxJs and Observables?

Collapse
 
aslemammad profile image
Mohammad Bagher Abiyat

Thanks, Austin; I don't know actually about RxJS, but every solution except the react internals has some trade-offs, maybe tearing and ...., I just made a vanilla fast solution with uMS, but if you can merge the observables solution with uMS, why not, it would be great. The point of this article is teaching uMS, and we can do many amazing things with it.