This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-10
Channels
- # adventofcode (3)
- # aws (2)
- # beginners (85)
- # boot (8)
- # boot-dev (4)
- # cider (36)
- # clara (3)
- # cljs-dev (87)
- # cljsrn (3)
- # clojure (87)
- # clojure-austin (12)
- # clojure-brasil (1)
- # clojure-dev (8)
- # clojure-dusseldorf (5)
- # clojure-estonia (5)
- # clojure-greece (4)
- # clojure-italy (3)
- # clojure-spec (17)
- # clojure-uk (55)
- # clojurescript (70)
- # core-logic (2)
- # cursive (6)
- # data-science (18)
- # datomic (13)
- # emacs (34)
- # fulcro (347)
- # graphql (12)
- # hoplon (6)
- # jobs (3)
- # jobs-discuss (43)
- # juxt (2)
- # keechma (31)
- # leiningen (29)
- # lumo (2)
- # midje (2)
- # off-topic (118)
- # om-next (4)
- # onyx (39)
- # pedestal (6)
- # re-frame (85)
- # reagent (21)
- # remote-jobs (3)
- # ring (5)
- # rum (2)
- # shadow-cljs (126)
- # spacemacs (1)
- # sql (6)
K, so reagent 0.6.2
does not work (I get a different error message that prevents me from building at all). reagent 0.8.0-alpha2
shows the above broken behavior
0.7.0
works as expected:
cljs.user> (reagent.dom.server/render-to-string [:div "hello"])
"<div data-reactroot=\"\" data-reactid=\"1\" data-react-checksum=\"-857140882\">hello</div>"
:face_with_rolling_eyes: it worked in my project started with figwheel-node
template, but it’s not working in my project started with the serverless-cljs
template
is there a way to pass a string to alter the hiccup structure? That way I can change the icon from semantic ui (defn icon-div [identifier] [:div.identifier.icon])
does anyone here have suggestions on how to go about doing tdd with reagent? i'd prefer to have tests but have never done it with react let alone reagent
@benny: Have you tried devcards? You can define tests and much more. https://github.com/bhauman/devcards
intriguing but that doesn't look like it would allow me to write actual tests against components and use it in CI to guard incremental features
that's awesome, thanks @shaun-mahood
so I just ran across this https://github.com/NervJS/nerv
yeah the benchmarks here https://nerv.aotu.io/ seem too good to be true 🙂