On Thursday, November 19, 2015 at 1:23:47 AM UTC+1, Timur wrote: > Hi all, > > Is it possible to reuse exiting react components in OM?
Yes. In general using js/React.createElement and returning it from one of OMs render methods is the way to go. Getting react components working correctly with CLJS is sometimes a bit of a hustle. A method that has always worked for me is trans/compiling via webpack to UMD, then requiring via foreign libs. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
