This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-23
Channels
- # aws (2)
- # beginners (57)
- # boot (63)
- # cider (7)
- # clara (1)
- # cljs-dev (1)
- # cljsrn (5)
- # clojure (68)
- # clojure-brasil (1)
- # clojure-dusseldorf (2)
- # clojure-greece (10)
- # clojure-italy (29)
- # clojure-russia (1)
- # clojure-spec (9)
- # clojure-uk (66)
- # clojurescript (16)
- # cursive (18)
- # datomic (19)
- # docker (3)
- # figwheel (2)
- # fulcro (61)
- # instaparse (7)
- # jobs (1)
- # luminus (5)
- # lumo (47)
- # mount (6)
- # off-topic (13)
- # onyx (39)
- # planck (4)
- # portkey (2)
- # re-frame (28)
- # ring (6)
- # ring-swagger (30)
- # rum (3)
- # shadow-cljs (142)
- # spacemacs (5)
- # sql (2)
- # unrepl (61)
- # untangled (2)
@sova Not an expert but i guess you can write (:stuff (rum/react myatom)) in the component body
Thanks! I made some headway: if you want to reference a value and change it you can use (rum/cursor atom :key) to get a top-level key and (rum/cursor-in atom [:key1 :subkey1]) to get a nested key... and if you want to display the value, just use a let like (let [ super-email-val (rum/cursor app-state-atom :email] .... and later on you can say @super-email-val to display the val, and you can use (rum/react super-email-val) to watch for changes
It seems cljsjs/slate has some issues https://github.com/cljsjs/packages/issues/954 😕 I'm finally playing with draft js, it worked straight away ^^