Fork me on GitHub

What is the equivalent of reagent’s :> or adapt-react-class ? i.e. how can I use a react component from a JS library in Rum? Or is this not possible?


(I have the library imported via shadow-cljs already)


Ok, I think I got it to work via rum/adapt-class . It didn’t work at first because I hard to do it to the value of the .-default attribute of the imported JS lib, e.g. `

  (.-default react-graph-vis)

Marko Vukovic22:05:05

I want to create a simple app with server-side rendering. Are there are good project examples?

Marko Vukovic19:05:33

thank you both!