Fork me on GitHub
#reagent
<
2018-06-24
>
prabhath618:06:16

Hi, I new here (to clojure). I started playing with Reagent. I was wondering if there are any guides or documentation to related to adding npm modules into Reagent project. I tried searching for it, but could not find any. If this is not the correct place to ask please let me know. Thanks.

justinlee19:06:23

@prabhath6 If you are just playing around and don’t have an existing code base, take a look at the shadow-cljs build tool. It allows you to just install npm modules using npm or yarn and then use them directly without further configuration. The webpack solution is probably a bit more foolproof in certain cases but it is also more work.

prabhath619:06:46

i do not have an existing codebase. i will try out shadow-cljs. How well does that integrate with reagent.

justinlee19:06:44

it works great. it’s not a library: it replaces lein and figwheel. https://shadow-cljs.github.io/docs/UsersGuide.html

justinlee19:06:54

there’s a #shadow-cljs channel if you need help

prabhath619:06:24

cool thanks will check that out