om

Please ask the channel first, not @dnolen directly!
2017-03-25T14:33:08.600368Z

I'm actually a bit confused about link queries. Do they allow me to have 'floating' queries that do not compose up to root through the parent components? If I have to hike them up through the tree into each parent, it's still a bit inconvenient. I might as well pass user down the tree...

devth 2017-03-25T16:55:26.124662Z

@danielstockton idents can "float" outside the hierarchy

devth 2017-03-25T16:55:41.125687Z

i've used that to hack around the inconvenience of rooting

2017-03-25T16:58:02.134757Z

That's indeed very useful then, I will give that a go.

2017-03-25T16:59:50.141577Z

I also had trouble rooting a nested remote query, sadly I never worked it out and can't use an ident in that case.

2017-03-25T17:03:38.157163Z

What I wanted was a component two levels deep to have a root query and to use a namespaced keyword on the parent and grandparent just for passing props down. I tried calling it :delegate/some-name meaning it delegates the query to the next level and checked for the delegate namespace in the :default parser function. I got it to work with local queries but if I added :remote true it sent the whole thing and I never worked out how to root it. Tried associng :query-root true in various places to no avail.

2017-03-25T17:04:15.159507Z

If anyone is doing something similar in their project or knows an example, I'd be interested to hear.