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 stuckThanks for sharing, very helpful.