reagent

A minimalistic ClojureScript interface to React.js http://reagent-project.github.io/
Andrea Russo 2020-04-22T13:12:26.192600Z

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

Andrea Russo 2020-04-22T13:23:52.194100Z

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

Andrea Russo 2020-04-22T13:24:03.194300Z

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

Andrea Russo 2020-04-22T13:24:13.194600Z

I get error messages like this one:

Andrea Russo 2020-04-22T13:25:05.194800Z

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

Andrea Russo 2020-04-22T13:25:23.195300Z

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

Andrea Russo 2020-04-22T14:01:54.195700Z

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

p-himik 2020-04-22T14:03:18.195900Z

But you can write code that works around that issue.

Andrea Russo 2020-04-22T14:23:50.196100Z

yes the r/adapt-react-class adapter

Andrea Russo 2020-04-22T14:24:00.196300Z

thanks I tried right now and it works