re-frame

https://github.com/Day8/re-frame/blob/master/docs/README.md https://github.com/Day8/re-frame/blob/master/docs/External-Resources.md
henrik 2021-05-19T14:35:03.010300Z

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?

p-himik 2021-05-19T14:38:09.010400Z

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

henrik 2021-05-19T14:40:09.010600Z

Thank you @p-himik, 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.

👍 1