Fork me on GitHub

About a year ago I heard about some way to use React components from NPM in a reagent app easily and that it was under development. Any update on this?


I’m not very familiar with reagent but maybe can answer your question (section “Better interop with native React”) ?


@artur not sure about npm, but i’ve had good success using JS React components from (i.e. that have externs provided) in reagent. after including the cljsjs dep in project.clj i usually end up adding a light wrapper component to give re-com-style keyword args and to adapt the JS Component function using reagent/adapt-react-class


@artur: there's some bleeding edge (last 24 hours) changes to support consuming NPM modules