This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-20
Channels
- # aleph (12)
- # announcements (7)
- # aws (6)
- # babashka (36)
- # beginners (161)
- # boot (1)
- # calva (6)
- # cider (21)
- # clj-kondo (13)
- # cljs-dev (28)
- # cljsrn (1)
- # clojars (3)
- # clojure (13)
- # clojure-colombia (1)
- # clojure-europe (10)
- # clojure-spec (12)
- # clojure-uk (47)
- # clojuredesign-podcast (2)
- # clojurescript (67)
- # datascript (8)
- # datomic (21)
- # duct (3)
- # emacs (6)
- # events (1)
- # fulcro (6)
- # graalvm (98)
- # jobs (1)
- # kaocha (18)
- # luminus (1)
- # malli (7)
- # off-topic (56)
- # pathom (5)
- # re-frame (18)
- # reagent (3)
- # reitit (9)
- # remote-jobs (3)
- # rewrite-clj (10)
- # ring (1)
- # shadow-cljs (155)
- # spacemacs (2)
- # sql (5)
- # tools-deps (27)
- # vim (86)
- # xtdb (2)
Hi All, I'm getting the warning when using dynamic-routing in fulcro3.0.10,WARN [com.fulcrologic.fulcro.ui-state-machines:?] - UNEXPECTED EVENT: Did not find a way to handle event :waiting! in the current active state: :routed I don't know what wrong with me
I’m getting that as well, I’ve basically been ignoring it.
It seems to be some interplay between the route-handler
and the states, but I’m not experienced enough with Fulcro yet to decipher what causes it.
https://github.com/fulcrologic/fulcro/blob/673fddbb017c293885aab3f97d99f7e11b20be80/src/main/com/fulcrologic/fulcro/routing/dynamic_routing.cljc#L251
oh, I may see what cause it. in the dynamic_routting.cljc file, initialize! call ::uism/beign with event-data, but there is not :target key in the event-data. so finally in the route-handler func, there is not target. As a result the var immediate?'s value is nil, it should be a bug. (defn route-handler [{::uism/keys [app event-data] :as env}] ... immediate? (immediate? target)] (-> (if immediate? ... (-> env ... (uism/set-timeout :delay-timer :waiting! {} deferred-timeout #{:ready! :route!}) ) ... ) .. )
oh, I may see what cause it. in the dynamic_routting.cljc file, initialize! call ::uism/beign with event-data, but there is not :target key in the event-data. so finally in the route-handler func, there is not target. As a result the var immediate?'s value is nil, it should be a bug. (defn route-handler [{::uism/keys [app event-data] :as env}] ... immediate? (immediate? target)] (-> (if immediate? ... (-> env ... (uism/set-timeout :delay-timer :waiting! {} deferred-timeout #{:ready! :route!}) ) ... ) .. )
what's the preferred/simplest way of deploying a fulcro app to a server? aws? heroku?