This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-23
Channels
- # arachne (3)
- # aws (1)
- # bangalore-clj (2)
- # beginners (19)
- # boot (151)
- # cider (72)
- # cljs-dev (9)
- # cljsjs (7)
- # cljsrn (37)
- # clojure (215)
- # clojure-austin (1)
- # clojure-denmark (2)
- # clojure-dev (68)
- # clojure-india (1)
- # clojure-ireland (2)
- # clojure-italy (4)
- # clojure-mke (1)
- # clojure-nl (4)
- # clojure-russia (4)
- # clojure-serbia (1)
- # clojure-spec (29)
- # clojure-uk (23)
- # clojurescript (23)
- # cursive (24)
- # datomic (71)
- # emacs (5)
- # events (1)
- # gsoc (11)
- # hoplon (20)
- # klipse (4)
- # lambdaisland (2)
- # leiningen (3)
- # luminus (3)
- # off-topic (30)
- # om (40)
- # om-next (1)
- # onyx (15)
- # pedestal (19)
- # perun (7)
- # planck (23)
- # proton (1)
- # protorepl (2)
- # re-frame (35)
- # reagent (21)
- # ring-swagger (38)
- # rum (19)
- # spacemacs (9)
- # untangled (11)
- # vim (5)
- # yada (4)
@eric.shao you're getting “name nil, mate nil” in the Person component because, as you can see in the PeopleWidget component, the data you're passing down are idents ie. [:db/id 1] instead of actual results eg. {:db/id 1, :person/name “bob”}. try checking the root query and make sure all sub queries have been properly composed using om/get-query to allow om to denormalize idents into data.
@ianchow thank you. If “idents” involved,then every component level should have IQuery [{:key (om/get-query child)}]
?
@eric.shao check out section on recursive queries. writings by anmonteiro. https://anmonteiro.com/2016/01/om-next-query-syntax/ https://anmonteiro.com/2016/01/exploration-patterns-om-next-part-1/ https://anmonteiro.com/2016/01/exploration-patterns-om-next-part-2/
Hello, is untangled designed to be used for universal apps (server side rendering in clojure) ?
@claudiu It is designed for full-stack SPAs. Server-side rendering for initial page loading speed is in progress (latest snapshot should do it, but not well tested, yet).