DEV Community

Discussion on: TIL: RxJS Observables are unicast and we can multicast them.

Collapse
anduser96 profile image
Andrei Gatej

As how you might expect, under the hood of these “share*” operators there are just very smart usages of Subjects.

I think the best way to understand these is by exploring the source code. RxJS 7.x experienced a significant refactoring and the code base is approachable IMO.

Thanks for sharing!

Collapse
pedrostc profile image
Pedro Osternack Corrêa Author

That's a pretty good tip to go through the source operator's source code, thanks for bringing it up. There's also a pretty good course on egghead on building rxjs operators that expands on that idea a bit and help a lot to understand how rxjs works and all that.