This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-09-21
Channels
- # admin-announcements (17)
- # aws (19)
- # beginners (28)
- # boot (103)
- # cider (5)
- # clojure (183)
- # clojure-art (46)
- # clojure-russia (25)
- # clojure-sg (2)
- # clojure-uk (1)
- # clojurescript (342)
- # clojurex (3)
- # core-matrix (1)
- # cursive (1)
- # datascript (2)
- # devcards (77)
- # devops (15)
- # emacs (4)
- # funcool (8)
- # hoplon (15)
- # immutant (47)
- # jobs (1)
- # ldnclj (10)
- # lein-figwheel (4)
- # off-topic (2)
- # om (23)
- # onyx (10)
- # re-frame (1)
- # reagent (23)
- # yada (7)
@danielgrosse: using go macro inside component’s render function looks quite crazy to my eye, I would guess during first component render it just puts internal go representation into that hiccup vector, that is why you are seeing numbers
I would write normal component depending on some data and run this go routine outside render function and update data for the component standard way
@darwin Thanks for your advice. I still have to learn many things.
should a simple reagent app (3-4 components, nothing fancy, no routing) compile to a 443K app.js in :advanced
compilation mode?
the (poorly-named) :profiles/production
entry just brings in the database configuration that needs to go into the WAR file.
strange. i’m not used to the uberjar, but it looks ok otherwise. what happens when you change the top optimizations to :advanced?
when I run outside of :uberjar
the whole thing gets split out and I get all the goog
files in their own directory.
the server side is actually where most of the code lives. lots of Java wrapped in clojure, fronted by a cljs UI.
inlined. I also mentioned it over on #C03S1L9DN, and @dnolen seemed to think that wasn't crazy big.
So if I call a function that derefs my ratom from a component does that cause the calling component to rerender? or is it just if I deref the ratom in the component itself?