This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-30
Channels
- # beginners (23)
- # boot (3)
- # cider (5)
- # clara (12)
- # cljs-dev (15)
- # clojure (18)
- # clojure-spec (24)
- # clojure-uk (23)
- # clojurescript (24)
- # data-science (2)
- # datascript (1)
- # datomic (12)
- # fulcro (51)
- # jobs (1)
- # jobs-discuss (1)
- # leiningen (1)
- # nrepl (1)
- # off-topic (1)
- # onyx (2)
- # re-frame (6)
- # reagent (14)
- # rum (1)
- # shadow-cljs (12)
- # spacemacs (3)
- # specter (1)
- # tools-deps (37)
- # vim (2)
I’m getting this error on build after updating some deps on my Clj/Cljs boot project:
java.lang.ClassNotFoundException: cljs.analyzer
clojure.lang.Compiler$CompilerException: java.lang.ClassNotFoundException: cljs.analyzer, compiling:(reagent/debug.clj:49:12)
Elapsed time: 9.531 sec
I’ve google all I can, upgraded my cljs version to latest, but no dice. Apparently this is related to javax.xml.bind being deprecated, but should supposedly be fixed in latest Cljs 1.10+. Can anyone help?Hello, I am using secretary
with reagent
. Everything works for simple routes, without params, but now I am trying to match a route with params and it does not work.
My code looks like this:
(defn app-routes []
(defroute "/" []
(swap! state/app-state assoc :page :home))
(defroute "/about" []
(swap! state/app-state assoc :page :about))
(defroute "/music/:single" [single]
(swap! state/app-state assoc :single single)
(swap! state/app-state assoc :page :music-single))
(defroute "/music" []
(swap! state/app-state assoc :page :music)))
In this case music/:single
is not triggered when I click a link like
Any ideas?@diego.vid.eco do you have this hooked up to the html5 history because without that i think you have to use hashtag routes
Oh yeah I did, just erased it from my code sample
Yes it seems to be matching music
But I have my links in music, so…
think I found the error, it’s actually my history code 😞
but thanks for the pointer, that helped find out the error