trying to build a generic table component with initial state like this:
{:id :my-table
:rows `{:top-level-table ~(om/get-query TopLevelTableItem)}}
I'm passing :rows
as a query for the table component to use to look up the rows it displays
I use the parser
recursively from the read method of the table to do this
however, I noticed that if I use parser
recursively, it won't trigger a remote fetch for the :top-level-table
key
basically the problem I'm trying to solve is: how do I pass in a link to my application data so the generic table component doesn't know about it?
and how do I make it work nicely with remote fetching?
the same :rows
may be shared by multiple instances of the generic table component; that's why I'm using a query