This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-28
Channels
- # aws (1)
- # aws-lambda (1)
- # beginners (19)
- # boot (7)
- # cider (9)
- # cljs-dev (311)
- # cljsjs (34)
- # cljsrn (8)
- # clojars (7)
- # clojure (41)
- # clojure-argentina (3)
- # clojure-russia (15)
- # clojure-spec (15)
- # clojure-uk (11)
- # clojurescript (83)
- # datomic (45)
- # emacs (7)
- # hoplon (13)
- # klipse (2)
- # lein-figwheel (1)
- # luminus (3)
- # om-next (1)
- # parinfer (5)
- # perun (1)
- # planck (1)
- # reagent (5)
- # spacemacs (2)
- # untangled (1)
- # yada (1)
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 https://reagent-project.github.io/news/news060-alpha.html 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 http://cljsjs.github.io (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
@danielcompton links?