This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-19
Channels
- # aleph (11)
- # announcements (1)
- # babashka (9)
- # beginners (90)
- # calva (6)
- # clj-kondo (24)
- # cljs-dev (26)
- # clojure (92)
- # clojure-europe (48)
- # clojure-nl (1)
- # clojure-spec (4)
- # clojure-sweden (2)
- # clojure-uk (41)
- # clojurescript (60)
- # code-reviews (1)
- # conjure (6)
- # core-logic (3)
- # datascript (1)
- # datomic (3)
- # deps-new (1)
- # depstar (4)
- # dirac (3)
- # emacs (8)
- # fulcro (1)
- # helix (27)
- # introduce-yourself (2)
- # jobs (1)
- # off-topic (4)
- # pathom (2)
- # polylith (8)
- # re-frame (3)
- # remote-jobs (1)
- # shadow-cljs (5)
- # spacemacs (2)
- # tools-deps (22)
- # vim (3)
- # xtdb (27)
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