This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-20
Channels
- # announcements (10)
- # architecture (7)
- # babashka (49)
- # beginners (125)
- # calva (2)
- # chlorine-clover (33)
- # clj-kondo (15)
- # cljs-dev (18)
- # cljsrn (28)
- # clojure (91)
- # clojure-argentina (37)
- # clojure-austin (4)
- # clojure-dusseldorf (1)
- # clojure-europe (3)
- # clojure-france (2)
- # clojure-germany (2)
- # clojure-nl (4)
- # clojure-portugal (4)
- # clojure-spec (26)
- # clojure-uk (19)
- # clojuredesign-podcast (5)
- # clojurescript (19)
- # conjure (20)
- # core-async (4)
- # cursive (60)
- # data-science (4)
- # datomic (1)
- # duct (9)
- # emacs (11)
- # events (1)
- # fulcro (9)
- # graalvm (17)
- # jobs-discuss (7)
- # luminus (19)
- # malli (36)
- # meander (2)
- # off-topic (23)
- # pathom (2)
- # quil (1)
- # rdf (4)
- # re-frame (16)
- # reitit (10)
- # ring (21)
- # ring-swagger (1)
- # shadow-cljs (137)
- # spacemacs (10)
- # sql (27)
looking at :pre-merge
example… should the function return normalized or denormalized entity data ?
I am currently trying this as my form component’s pre-merge
(defn form-pre-merge [class {:keys [data-tree current-normalized] :as p}]
(merge current-normalized
(fs/add-form-config data-tree class)))
and it seems to end up with non-normalized form config in the state, which causes an errorit can return both
denormalized data with queries will continue the normalization process
how does one return denormalized data with queries?
ah I see by source that it requires denormalized data and that the reason why it’s not normalizing my form config is that it is not part of the load!
query
but you say that I can return data with a different query attached? It currently looks like I cannot add ui-centric properties in pre-merge if they require normalization
Not sure if anyone else has been trying to work this out, but got a half decent way of getting consistent sessions over http and websockets… It’s pretty straightforward… https://folcon.github.io/post/2020-04-20-Shared-Websocket-Sessions-with-Fulcro/
I’m trying to understand Dynamic Routing. And while the concepts are pretty straightforward. Something about the API isn’t clicking. I’ve tried to layout what I’ve done. While I crawl through this some more, is there anything obvious I’m missing? https://stackoverflow.com/questions/61333783/howto-set-up-dynamic-ui-routing-for-a-simple-fulcro-app