re: Messy Event Flows: Part 2 - What it should be VIEW POST

re: What about RX?

Good suggestion. Reactive Extensions (RX) is a great way to implement your projectors, it makes it easy to build up the state required by your constraints.


But debugging RX can send you into back holes iv'e heard. Thoughts on this?

We don't use RX to implement projectors, so I can't really answer this. I've used it in the past, so can I imagine it would get difficult. For projectors, a simple implementation of the observer pattern tendsto works well.

React reducers are pretty much projectors, so their implementation is a good place to see it in action.

code of conduct - report abuse