devcards

Devcards aims to provide a visual REPL experience for ClojureScript https://github.com/bhauman/devcards
wilkerlucio 2015-11-23T11:29:56.000071Z

hello; I'm needing to use a dom-node on devcards but I'm not sure how to use this helper, does someone have an example code using the dom-node helper on devcards?

minimal 2015-11-23T11:47:58.000073Z

@wilkerlucio: something like

(defcard my-card
  (dom-node
   (fn [data-atom node]
     (fn-that-takes-a-node node data-atom)))
  app-state)

wilkerlucio 2015-11-23T11:50:05.000074Z

thanks @minimal

peeja 2015-11-23T20:48:44.000076Z

Hey, all! Are there guidelines somewhere for writing CSS that plays well with devcards? It seems nontrivial given the way we've laid out our CSS so far. I imagine it's just a matter of following some principles.