Fork me on GitHub
#figwheel-main
<
2019-07-21
>
lepistane16:07:00

oki just an update hopefully it helps someone it came down to interop issue 😄 i did (set! *warn-on-infer* true) and got warning for direct function call in cljs after i fixed that and did advanced build with

{:main routes.core
 :output-to "resources/public/cljs-out/dev-main.js"
 :output-dir "resources/public/cljs-out/out"
 :asset-path "cljs-out/out"
 :optimizations :advanced
 :closure-defines {goog.DEBUG false}
 :pretty-print false
 :infer-externs true
 :closure-warnings
 {:externs-validation :off :non-standard-jsdoc :off}
 :externs ["react/externs/react.js"]}
this config for prod.cljs.edn all worked fine. i wrote this to reddit https://www.reddit.com/r/Clojure/comments/al4lzm/using_bootstrap_with_reagent/ in comments in case someone gets stuck

❤️ 4
practicalli-johnny11:07:42

Thanks for sharing, very helpful.