Fork me on GitHub

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
 {: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 in comments in case someone gets stuck

❤️ 4

Thanks for sharing, very helpful.