hi guys, I just notice using vector as class in rum generate class join with ,
which doesn't work at all in css. I can hardly think this is mistake of rum, can you guys help me to confirm this:
[:div {:class ["a" "b"] "weird"]
;; html
;; <div class="a,b"></div>
@nxqd Cannot confirm this.
@rauh so it's "a b"
on your side?
@nxqd Yes:
(sablono.compiler/compile-html [:div {:class ["A" "B"]}])
=> (js/React.createElement "div" #js{:className "A B"})
wow, what could possibly go wrong here. Thanks for your info
Same for (sablono.interpreter/interpret [:div {:class ["A" "B"]}])
fwiw
mybad, I use defn instead of defcs ...
and I used defcard-rg instead of defcard ...
@rauh thanks for your input!