This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-23
Channels
- # ai (1)
- # beginners (84)
- # boot (111)
- # cider (2)
- # cljsrn (9)
- # clojure (245)
- # clojure-italy (2)
- # clojure-mke (1)
- # clojure-russia (6)
- # clojure-spec (92)
- # clojure-uk (32)
- # clojurescript (55)
- # core-async (1)
- # cursive (8)
- # datomic (19)
- # events (1)
- # hoplon (379)
- # lambdaisland (4)
- # lein-figwheel (8)
- # off-topic (115)
- # om (18)
- # om-next (5)
- # onyx (25)
- # re-frame (8)
- # reagent (5)
- # ring-swagger (1)
- # rum (19)
- # schema (3)
- # untangled (24)
Hi! I’m having an issue with re-frame that might stem from reagent. I would like to monitor a reaction using add-watch
so that I can run re-frame in the background without mounting a react component (using Headless React Native). add-watch
works as expected if I have a component mounted that derefs that reaction but it does not work if I just add add-watch
. I guess this behaviour makes sense for 99.9% of the use cases. But is there a way to make add-watch
always work for reactions or is there a reagent version of add-watch
for reactions?
@vikeri track!
@juhoteperi Thanks! I’ll try that out!
@juhoteperi I owe you a 🍺 on the next ClojuTRE