Fork me on GitHub
#re-frame
<
2017-04-20
>
stephentriphahn13:04:41

What is the preferred way to use an existing React component in re-frame? I have attempted to use :foreign-lib in the project.clj and things seem to break, particularly a call to this.refs

stephentriphahn13:04:37

I'm still relatively new to the JS ecosystem and have seen some various approaches via externs, :foreign-lib, cljsjs, etc and am pretty baffled

stephentriphahn13:04:35

to clarify, the existing React component refers to a third party NPM module created by another team

mikethompson13:04:20

See discussion above and below that point ... shows how to use the "selectable" React component.

mikepence14:04:17

I have a similar question: looking to add some more visually appealing components than re-com has, specifically some google-material-lite style react components to a re-frame project.

mikepence14:04:32

that is a more a reagent question, I surmise.