figwheel-main

figwheel-main http://figwheel.org
lepistane 2019-07-21T16:03:00.001800Z

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

1❤️
practicalli-john 2019-07-22T11:33:42.002300Z

Thanks for sharing, very helpful.