This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-14
Channels
- # beginners (183)
- # boot (6)
- # cider (106)
- # cljs-dev (17)
- # cljsjs (2)
- # cljsrn (2)
- # clojure (56)
- # clojure-italy (14)
- # clojure-nl (39)
- # clojure-spec (49)
- # clojure-uk (138)
- # clojurescript (197)
- # core-logic (37)
- # cursive (22)
- # datascript (5)
- # datomic (29)
- # devcards (18)
- # emacs (1)
- # events (8)
- # figwheel (1)
- # fulcro (59)
- # lein-figwheel (1)
- # leiningen (1)
- # off-topic (54)
- # onyx (3)
- # pedestal (1)
- # portkey (4)
- # re-frame (18)
- # reagent (5)
- # reitit (43)
- # ring (6)
- # ring-swagger (26)
- # shadow-cljs (42)
- # spacemacs (8)
- # specter (12)
- # sql (3)
- # tools-deps (21)
- # vim (18)
@nrako have any events been dispatched while the panel was open? It won't register the events when it is closed.
I do appreciate the note. I was not on the Clojure interwebs yesterday, and have not had a chance to check yet.
I guess I was surprised that app-db
was rendering nil
and immediately assumed it was b/c of a misconfiguration, but will start firing some events. Thanks again…
Looks like having any event that dispatches will correctly render both the app-db
and the events tab. Thanks again…
is seems like it’s not necessary in re_frame for any reg-event-* to have the signature [db/cfx event]
.. how is that handled? i found https://github.com/Day8/re-frame/blob/17e1637f310243cab47b5900e1c4674d131db653/src/re_frame/std_interceptors.cljc#L110 which is the invoker, but i don’t get why the compiler doesn’t complain if you declare a handler with a fn signature of 1 instead of 2
which I believe is a consequence of cljs mirroring JavaScript function calling, which allows that.
I won’t say it with 100% certainty because I didn’t read the relevant impl, but I believe this is the case
you are correct that it looks like if I call a named defn
fn in CLJS with the wrong arity, it will give a warning