Fork me on GitHub
#fulcro
<
2022-06-24
>
Thomas Moerman11:06:11

Hi gang, question: what is the latest shadow-cljs / clojure(script) / com.google.javascript/closure-compiler-unshaded version that Fulcro is known to work with? We encountered a problems upgrading shadow to 2.17.2 which throws a difficult to understand js error:

1
Thomas Moerman11:06:02

This permutation is ok:

;; WORKS with fulcro 3.5.2
org.clojure/clojurescript                       {:mvn/version "1.10.891"}
com.google.javascript/closure-compiler-unshaded {:mvn/version "v20210506"}
thheller/shadow-cljs                            {:mvn/version "2.15.13"}

Jakub Holý (HolyJak)11:06:41

Do you have a callback in the TopBar component? Are you get -ing from something inside it? Perhaps add try-catch-log into it?

Jakub Holý (HolyJak)11:06:46

There were "recently" some changes to clojurescript that changed how goog.* libraries are accessed. Could that be related? Also, what if you upgrade to the latest fulcro?

Thomas Moerman11:06:07

The problem is probably in the direction of the goog. libs, Upgrading Fulcro, seems to improve things. Trying out some combos...

Thomas Moerman11:06:17

Latest and greatest versions appear to work with 3.5.22, the above can be ignored. Thanks for rubber duckie , @U0522TWDA 😅

🙏 1