This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-19
Channels
- # beginners (25)
- # boot (143)
- # braid-chat (9)
- # cider (18)
- # cljs-dev (88)
- # cljsrn (1)
- # clojure (91)
- # clojure-austin (2)
- # clojure-berlin (3)
- # clojure-japan (26)
- # clojure-russia (148)
- # clojurebridge (1)
- # clojured (29)
- # clojurescript (105)
- # cursive (7)
- # data-science (4)
- # datomic (15)
- # devcards (4)
- # emacs (8)
- # euroclojure (2)
- # events (1)
- # gsoc (27)
- # hoplon (3)
- # immutant (3)
- # ldnclj (3)
- # lein-figwheel (9)
- # leiningen (2)
- # luminus (1)
- # off-topic (5)
- # om (176)
- # onyx (136)
- # parinfer (16)
- # proton (13)
- # re-frame (33)
- # reagent (34)
- # spacemacs (1)
- # yada (127)
Hello,
I’ve almost got devcards setup just one issue. I’ve got my widget component in a namespace called app.components.widget.text
and I’ve got devcards for that widget in cards.widget.text
. When I edit app.components.widget.text
I can see that the code is reloaded in the js console but the devcards do not update/re-render with the latest component code.
But if (after editing the component) I change the :inspect-data
value in a devcard then they all re-render with the latest component code.
Ideally I’d like to keep my cards and component in separate namespaces but still have the cards re-render when I edit the component source.
Is there some naming convention I have to follow?
I think I figured it out. The component needs to be required in the root namespace that renders the tree to begin with.