This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-20
Channels
- # announcements (2)
- # architecture (5)
- # beginners (118)
- # cider (5)
- # clara (13)
- # cljdoc (8)
- # cljs-dev (49)
- # cljsjs (2)
- # clojure (107)
- # clojure-dev (9)
- # clojure-europe (3)
- # clojure-italy (58)
- # clojure-japan (2)
- # clojure-nl (6)
- # clojure-spec (89)
- # clojure-uk (27)
- # clojurescript (9)
- # core-async (33)
- # cursive (2)
- # datascript (2)
- # datomic (31)
- # duct (4)
- # emacs (1)
- # events (1)
- # figwheel-main (1)
- # fulcro (69)
- # hoplon (7)
- # hyperfiddle (16)
- # incanter (4)
- # instaparse (4)
- # kaocha (1)
- # mount (2)
- # nrepl (19)
- # off-topic (40)
- # onyx (6)
- # other-languages (3)
- # pedestal (2)
- # re-frame (48)
- # reagent (2)
- # reitit (10)
- # ring-swagger (9)
- # shadow-cljs (63)
- # spacemacs (13)
- # sql (8)
For the first option, I would define a formula cell that mutates the 3 related input cells when it's changed? Not sure how the 2nd option (`do-watch`) plays with formula cells (or not)...Appreciate the answer a lot, do you think you could give a small example of what defining the 3 (more?) cells looks like?
I think the 1st idea you gave was staring me right in the face on the doc page for Javelin (https://github.com/hoplon/javelin)
(cell= (.log js/console c)) ;; anonymous formula cell for side effects.
@jamesvickers19515 i'll make a simple example later today for you, hopefully that will clarify
@jamesvickers19515 the alternative is to use a lens cell
such as (cell= original-cell (dosync (reset! cell1 value1) (reset! cell2 value2) (reset! cell3 value3)))
where original-cell
is a mix of the other cells or something along those lines
oh yeah, i forgot about that one!