This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-30
Channels
- # announcements (3)
- # aws (5)
- # beginners (71)
- # boot (7)
- # calva (74)
- # cider (6)
- # clj-kondo (2)
- # cljs-dev (5)
- # clojars (6)
- # clojure (84)
- # clojure-dev (7)
- # clojure-europe (1)
- # clojure-italy (23)
- # clojure-nl (43)
- # clojure-sanfrancisco (1)
- # clojure-spec (4)
- # clojure-uk (173)
- # clojurebridge (1)
- # clojurescript (14)
- # cursive (44)
- # datomic (9)
- # duct (2)
- # emacs (2)
- # fulcro (4)
- # graalvm (4)
- # graphql (27)
- # hoplon (6)
- # keechma (50)
- # off-topic (3)
- # other-languages (8)
- # pathom (2)
- # pedestal (14)
- # planck (5)
- # re-frame (3)
- # reitit (6)
- # ring (2)
- # robots (2)
- # spacemacs (9)
- # tools-deps (15)
- # vim (44)
Hey, when following the approach outlined here https://github.com/Day8/re-frame/blob/master/docs/Subscribing-To-External-Data.md where you use reg-sub-raw to go fetch data as a side effect then return a reaction on where that data ends up in the database. What is the idiomatic way of making this sub reactive to another subscription? (Or other way of kicking it off again based on a something changing). I'm using the 3rd arg (dynv) of subscribe to achieve this currently, but the source code comment suggests this is deprecated. Is there another way or is the entire approach of fetching data is subs also now depreciated?
I think you might want effects/co-effects for this.
Haha, I now realise there is a disclaimer confirming that this approach is retired at the top of the aforementioned doc. Whoops :D