bbktsk: I don't see anything wrong with that. I'm not sure you need to call the parser recursively though. You probably wouldn't have a read function for person/id person/firstname, etc, unless you're fetching all these values from very disparate sources
if there is an invalid ident (i.e. non existent) in app state, when using recursive query I get Error: ... is not ISeqable
from the db->tree
- for some reason I thought it would just be ignored (as when querying other inexistent keys). Example:
(let [st {:tree [{:id 1 :children [ [:by-id 2]]}]}]
(om/db->tree
'[{:tree [:id {:children ...}]}] st st))
is there a way to set component state without forcing a re-render?