Fork me on GitHub
#rum
<
2019-01-11
>
Bravi23:01:22

hi everyone. I’m following rum docs and this code

(rum/defc repeat-label [n text]
  [:div (repeat n [:.label text])])

(rum/mount (repeat-label 5 "abc") js/document.body)
throws the following error
Objects are not valid as a React child (found: object with keys {meta, count, val, next, __hash, cljs$lang$protocol_mask$partition0$, cljs$lang$protocol_mask$partition1$}). If you meant to render a collection of children, use an array instead.