Fork me on GitHub

Anyone recommend what instructions to follow to use a .js library with re-frame? Most of the instructions seem to assume Figwheel and things seem different with Shadowcljs and, then again, the ClojureScript instructions seem different again. I've had a couple of go's and not seemed to get it. Is there a definitive source of instructions please?


@sandbags Which part are you having problems with? Getting the JS library into your build, or actually using the JS component in re-frame?


I've tried following the instructions of adding to shadow-cljs.edn and using (:require ["/path/to/js[.js]" :as js]) and didn't seem to get anywhere. Also the deps.cljs approach.


And you are using shadow-cljs? Then we should switch to #shadow-cljs channel