This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Has anyone run into externs issues when compiling re-com for production?
I haven't been able to find any other good Reagent-ified approaches to radio buttons. Works in development, not with advanced compilation.
Specifically, I'm using the v-box and the radio buttons. If I remove the radio buttons, it still doesn't work, probably because the radio buttons actually rely on the v-box.
Actually, I was able to fix it by including [cljsjs/bootstrap "3.3.5-0"] in my project.clj dependencies, and (:require clsjs.bootstrap) in each namespace in which I used re-com components. 😄
@coyotespike: re-com comes with a demo app, which we compile using advanced.
via the alias lein run-prod
We don't seem to have any of the issues you describe
@mikethompson: That makes sense - I assumed you didn't, because I cloned the repo and saw no mention of this. (Correction to my post above - I didn't need to (:require clsjs.bootstrap)
in each namespace, just in core.cljs
)
I'm mixing re-com components and the Bootstrap grid. Perhaps the issues will disappear when I switch over to re-com altogether.
Yes, one of the nicest parts of re-com is the layout components. No need for bootstrap grids