AFAIK, the root component is supposed to perform all the queries for its children, then pass to its children everything they need.
So for most cases, all the read functions are performed at the root component level
yes, all direct reads to the app-state er performed from root and reads by children are aimed at its properties. Took me painful amount of time to find out.
In the om-next quick start, in the remote tutorial, they setup the :remotes
vector like so: [:remote :search]
. The doc says: a vector logical remotes present in the system. Remotes are simply user specified keywords.
So is this 2 remotes? One named :remote
and the other named :search
? A bit confused.
@fenton yes
🙂
but the remote :remote
doesn't appear to be used...so it's redundant and un-neccessary?
removing doesn't seem to affect anything...maybe it shouldn't be in the wiki?