untangled

NEW CHANNEL: #fulcro
ianchow 2017-01-23T02:59:00.002364Z

@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.

eric.shao 2017-01-23T03:20:37.002365Z

@ianchow thank you. If “idents” involved,then every component level should have IQuery [{:key (om/get-query child)}] ?

eric.shao 2017-01-23T03:22:04.002366Z

I thought PeopleWidget should not have query-expression.

eric.shao 2017-01-23T03:25:53.002367Z

Now my code is this:

eric.shao 2017-01-23T03:42:02.002370Z

They show! Another question: How to control the recursive-query ’s nesting level?”

eric.shao 2017-01-23T06:26:26.002379Z

Thank you @ianchow 😀

claudiu 2017-01-23T19:34:51.002388Z

Hello, is untangled designed to be used for universal apps (server side rendering in clojure) ?

tony.kay 2017-01-23T19:36:17.002389Z

@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).

tony.kay 2017-01-23T19:37:00.002390Z

I don't know what you mean by "universal". If you mean you'd like to serve html pages on each mouse click via server-side render, then no...don't do that.

claudiu 2017-01-23T19:49:16.002392Z

@tony.kay I meant server-side rendering for initial page load, also love the user experience without initial loading states. Thank you, will give the latest snapshot a go :)