re-frame

Marten Sytema 2025-05-13T08:18:12.761219Z

Hi folks, can it be that the latest re-frame is imcompatible with the latest clojurescript version?

Uncaught TypeError: goog.isFunction is not a function
    nextTick NextJS
    re_frame$router$IEventQueue$_run_next_tick$arity$1 router.cljc:184
    vec__46562 router.cljc:139
    re_frame$router$IEventQueue$_fsm_trigger$arity$3 router.cljc:166

p-himik 2025-05-13T08:21:21.001479Z

Re-frame doesn't call isFunction. Neither does Reagent. Do you have any idea what calls it?

p-himik 2025-05-13T08:21:47.848649Z

Should be relatively easy to figure out by making your browser break on every exception.

Marten Sytema 2025-05-13T08:28:32.938639Z

i think i first clean my project,… it seems weird. altho latest version of my shadow-cljs made me add this dep: com.google.javascript/closure-compiler-unshaded {:mvn/version "v20250407"}

Marten Sytema 2025-05-13T08:28:46.721739Z

(i upgraded that as well)

thheller 2025-05-13T08:34:46.710099Z

sounds like you were on some rather old versions before? goog.isFunction was removed a while ago. don't ask me why .. google likes breaking stuff

Marten Sytema 2025-05-13T08:37:11.139389Z

yes i was

Marten Sytema 2025-05-13T08:38:00.330679Z

well i was and i wasn’t, but i think it’s just a bit of a clusterf*ck so lemme clean and see what we get 🙂