Fork me on GitHub
#reagent
<
2020-04-22
>
andrea.russo13:04:26

I imported through shadow-cljs a react component library, called react-bootstrap, which has some react components, like Row, Cols etc.

andrea.russo13:04:52

when I try to use those components in my hiccup like this:

andrea.russo13:04:03

[:> Row (doall (for [d @ds] [:> Col (dataset-item d)]))]

andrea.russo13:04:13

I get error messages like this one:

andrea.russo13:04:05

error when calling lifecycle function dias-web.core/mount-root TypeError: Cannot convert a Symbol value to a string

andrea.russo13:04:23

does someone have any clue about how to solve this problem?

andrea.russo14:04:54

thank you very much, it seems it’s still not solved

p-himik14:04:18

But you can write code that works around that issue.

andrea.russo14:04:50

yes the r/adapt-react-class adapter

andrea.russo14:04:00

thanks I tried right now and it works