Fork me on GitHub
#reagent
<
2016-11-07
>
hendriklouw12:11:36

I have a feeling I'm doing something basic wrong, any pointers?

johanatan23:11:20

@sophiago sounds like you want reagent/adapt-react-class for using a JS-published component inside reagent/CLJS

johanatan23:11:17

otherwise, if you are creating pure CLJS/reagent components, best to stick to hiccup. reagent/as-element will let you export hiccup to JS as a regular React component (from JS perspective). also, that tutorial mentioned above explains how to add metadata if you need to override the lifecycle methods for a reagent component

johanatan23:11:51

those are all of the "React-interop" tools I've needed so far