This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-19
Channels
- # announcements (1)
- # beginners (115)
- # calva (7)
- # cider (8)
- # clj-kondo (3)
- # cljdoc (12)
- # clojure (50)
- # clojure-europe (4)
- # clojure-italy (5)
- # clojure-nl (6)
- # clojure-spec (70)
- # clojure-uk (88)
- # clojurescript (54)
- # core-async (16)
- # cursive (5)
- # datomic (31)
- # editors (4)
- # emacs (4)
- # fulcro (29)
- # graphql (17)
- # luminus (1)
- # lumo (2)
- # off-topic (37)
- # pathom (16)
- # random (2)
- # re-frame (5)
- # reitit (3)
- # rum (2)
- # shadow-cljs (192)
- # sql (11)
Is it possible to re-dispatch multiple events from within an event body? I have the case of event X always requiring that event Y and Z also runs, but Y and Z have no such requirements. (Break out Y and Z to named functions or interceptors is the obvious workaround, but I’m curious. Also, there’s the slight benefit of not having to deal with Clojure’s namespace dependency graph.)
@henrik are you meaning something other than a :dispatch
or :dispatch-n
effect ? https://github.com/Day8/re-frame/blob/master/docs/API.md#dispatch