This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-21
Channels
- # aleph (7)
- # beginners (79)
- # calva (1)
- # cider (5)
- # clj-kondo (12)
- # clojure (7)
- # clojure-austin (1)
- # clojure-brasil (2)
- # clojure-chicago (1)
- # clojure-europe (2)
- # clojure-seattle (4)
- # clojurescript (68)
- # data-science (1)
- # datavis (1)
- # figwheel-main (2)
- # hoplon (2)
- # juxt (1)
- # leiningen (3)
- # luminus (8)
- # off-topic (65)
- # onyx (1)
- # pathom (12)
- # reagent (6)
- # reitit (3)
- # shadow-cljs (7)
- # spacemacs (5)
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
Thanks for sharing, very helpful.