Zach Oakes
Zach Oakes
You need to use the fully qualified ns in the example, `rum.core/mount`, because the alias won't be available when evaling the code. I tested it out on the [example project](https://github.com/oakes/dynadoc-examples)...
Yeah the cljsjs thing makes it pretty hard to use shadow sometimes. It looks like paren-soup is using three cljsjs namespaces: * cljsjs.rangy-core * cljsjs.rangy-textrange * cljsjs.parinfer I don't use...
IMO shadow is only useful if you really want to use npm libraries. If you're sticking with stuff in the clojurescript ecosystem, figwheel is much simpler.
Only thing I can think of is, did you `npm install` the libraries? With shadow that's how you will be getting them -- it won't use the cljsjs library from...
Can you post the entire shadow-cljs.edn file? Getting dynadoc's examples to eval correctly can be tricky; if i see the whole file, i might be able to spot problems.
I mostly got it to work in the `shadow` branch of dynadoc-examples: https://github.com/oakes/dynadoc-examples/tree/shadow/basic-shadow-cljs If you run `clj -M:docs` in that dir, it should run shadow and build the example app...
I was bored today so i made a little more progress. In that branch i linked to, editing examples now works correctly -- i had to pull in a different...
Interesting...is there a protocol defined in that namespace? If you have a sample file or project i could try, it would help to narrow it down.
This response is waaaay late because github never notified me, sorry about that. There are many ways to send data to the cljs side. For example, in dynadoc i needed...
In the short term, the best solution is to build a custom version of lightmod where you add what you need in the [:app alias](https://github.com/oakes/Lightmod/blob/6627e722a9a4d6eb6147eaddad7c3614488d388f/deps.edn#L34) and replace one of the...