Fork me on GitHub

I've been away from re-frame since :fx was introduced. I'm using one instance with two :dispatch effects. I mutate the DB (a bog standard reg-event-db) in the first :dispatch, but this change doesn't seem to show up in the next one (which incidentally, is another reg-event-fx). Is it possible/expected to see race conditions between the entries like this?


It's not expected. If you can provide a repo with a minimal reproducible example, I will take a look.


Thank you @U2FRKM4TW, I just realized the problem is me. I forgot that reg-event-fx provides a map with the DB in it, and not DB directly.

👍 4