What is Nostr?
hodlbod /
npub1jlr…ynqn
2025-03-26 18:03:09

hodlbod on Nostr: Attempting to learn RxJS because it seems like streams would be the correct way to ...

Attempting to learn RxJS because it seems like streams would be the correct way to model events flowing from a relay through various utilities for welshman. I'm currently learning about how to manage subscriptions using`takeUntil` , and it just seems like footguns and strange mental models abound.

I'm interested in others' experience with Rx*. Is it the amazing paradigm shift people say it is, or does it just make your code more obscure and come with its own problems? In anything less than something like Elm (which I do like), it seems like all you can do is move around the imperative parts of your code, not get rid of them entirely. I had my love affair with point free via ramda a number of years back, and eventually left it for non-curried utility functions (typescript especially made ramda painful). This feels very similar.

Author Public Key
npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn