This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-05
Channels
- # bangalore-clj (1)
- # beginners (99)
- # boot (108)
- # cider (15)
- # clara (4)
- # cljs-dev (12)
- # cljsjs (37)
- # cljsrn (4)
- # clojure (110)
- # clojure-italy (2)
- # clojure-spec (12)
- # clojurescript (168)
- # cursive (1)
- # datomic (24)
- # graphql (6)
- # hoplon (5)
- # jobs-discuss (2)
- # keechma (21)
- # mount (5)
- # off-topic (140)
- # om (2)
- # parinfer (37)
- # planck (6)
- # re-frame (4)
- # reagent (9)
- # rum (2)
- # spacemacs (4)
@frederic There's nothing to stop you from returning a function. But it would seem odd to me. I would expect subscriptions to return values (data) -- after all app-db
only contains data.
@frederic you could very easily make the argument that functions are data. I’m using this in a few places in my app for something to pass to an event handler
I’m not happy about that necessarily but it’s better than most of the alternatives I’ve thought of
@jfntn does the following help sufficiently? https://github.com/Day8/re-frame/blob/master/docs/FAQs/GlobalInterceptors.md Just written because this does come up from time to time