Fork me on GitHub

@emccue Perhaps it is only after our discussion that I have started paying attention to this kind of things, but I now notice how chaining events can cause issues in my codebases as well.


Any particular sort of bug that just happened?


Well, there's a bug that made me think about cause and effect, but it's not entirely related to this particular pattern. It's just that combining event handlers as functions would make me pass the db explicitly, making me notice that I actually don't have the db in the right state at the right time. Trying to drive the important parts of the app's state with the URL. The tricky part is that the way I have to parse most of the query parameters depends on the URL path and on some specific query parameters.