DEV Community

Discussion on: Phoenix LiveView, but event-sourced

Collapse
 
katafrakt profile image
Paweł Świątkowski • Edited

Ah, interesting. I've been thinking about combining Commanded and Live view lately, but instead of just subscribing to EventStore in LiveViews I more though about having some kind of a dispatching GenServer in the middle: one "liveview subscriber" on EventStore would just call this dispatcher and it would dispatch the message to interested liveviews subscribed to it. Thanks to your post I see that I would probably introduce unnecessary level of abstraction and complexity 👍