om

Please ask the channel first, not @dnolen directly!
sova-soars-the-sora 2018-04-30T12:09:09.000371Z

Hello, wanting to do some recursive queries on my app state atom. Have elements called "blurbs" and said "blurbs" can have "comments." Makes most sense to represent this as the tree that it is, or have references to parent elements (which is preferred because of how the server passes messages to the client). How can I do a recursive query on something like comments of comments for my om.next Ui?

sova-soars-the-sora 2018-04-30T12:17:57.000135Z

I found this page, which shows how to write the query line using '[ :outside [:inside { :recursionthing ... }]] https://anmonteiro.com/2016/01/om-next-query-syntax/

sova-soars-the-sora 2018-04-30T12:18:16.000030Z

But i'm not clear on how to use the queried-for elements in my code (as UI elements)

sova-soars-the-sora 2018-04-30T12:18:43.000300Z

i get the data side but could use some illumination on the view side

cjmurphy 2018-04-30T12:26:59.000422Z

@sova: For more documentation on recursive queries: http://book.fulcrologic.com/#_recursive_queries