This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-02
Channels
- # announcements (2)
- # babashka (21)
- # beginners (80)
- # bristol-clojurians (1)
- # calva (1)
- # cider (4)
- # clara (2)
- # clj-kondo (5)
- # cljs-dev (41)
- # clojure (8)
- # clojure-dev (2)
- # clojure-europe (28)
- # clojure-italy (11)
- # clojure-nl (4)
- # clojure-spec (13)
- # clojure-sweden (1)
- # clojure-uk (11)
- # clojuredesign-podcast (5)
- # clojurescript (5)
- # code-reviews (4)
- # cursive (25)
- # data-science (5)
- # datomic (25)
- # duct (15)
- # emacs (6)
- # fulcro (13)
- # graalvm (1)
- # graphql (5)
- # helix (2)
- # jobs (3)
- # jobs-discuss (4)
- # luminus (1)
- # malli (13)
- # meander (3)
- # off-topic (16)
- # pathom (2)
- # pedestal (1)
- # re-frame (5)
- # ring-swagger (3)
- # spacemacs (4)
- # sql (16)
- # tools-deps (1)
- # tree-sitter (8)
- # vrac (2)
- # xtdb (16)
- # yada (2)
Events can be maps. Coming soon. Any thoughts? https://github.com/day8/re-frame/issues/644
Is it important to distinguish between ::rf/eid
and ::rf/qid
?
Since maps with those in it are used with different fns, would ::rf/id
work for both?
Currently you can't visually tell an event vector from a subscription vector (other than by adopting naming conventions for subs and events, which is what I'm currently doing).
Using eid
and qid
makes it clear what a map is supposed to be used for. However, is that important?
Other variants: :re-frame.subs/id
and re-frame.events/id
?
I have a weird bug in that when I clear the subscription-cache and call my render function anew not everything re-renders. It worked for most of last month. Anybody have a hunch what may be going wrong?
Also it seems to happen almost exclusively to views that contain forms. 😄 That is certainly a strange one
Oh, found the culprit, its not re-frame
. (For those interested: Every component that is called as a view in reitit does nor re-render on a combo of rf/clear-subscription-cache!
and reagent.dom/render
. But all other components do just fine. Intermediate fix is to not have any code except for calling other components in reitit-routes)