The inputs required to instantiate my-com would be {:company-eid ... :title-filter #"..." :case-eids [...] :my-id ...} (and the current db at render time),
the value of data in render would have the same structure as specified in IParams
Other completely dynamic queries could be done in the render method if necessary, but whereas with the above format we can take care of (however inefficiently) automatically updating the component, it would the be up to the developer to make sure that listeners were added/removed on IWillMount and IWillUnmount for said dynamic queries.
Similar to Sul or Om/next. Just a rough sketch of what it might look like:
my-com
would be{:company-eid ... :title-filter #"..." :case-eids [...] :my-id ...}
(and the current db at render time),data
inrender
would have the same structure as specified inIParams
Other completely dynamic queries could be done in the render method if necessary, but whereas with the above format we can take care of (however inefficiently) automatically updating the component, it would the be up to the developer to make sure that listeners were added/removed on
IWillMount
andIWillUnmount
for said dynamic queries.