On Tuesday, August 9, 2016 at 4:07:28 PM UTC+2, Georgi Danov wrote:
> While learning om.next I am rendering recursive tree structure. I have two
> questions related to the data management:
>
> #1 the recursive syntax {:children ...} must be used only when the data is
> normalized. If I use this syntax on de-normalized data, it does not work,
> however (of course) plain [:key :value :children] is fine. Is it intended to
> be so, or am I missing something in my implementation?
>
> #2 In the tutorials I read it's not mentioned how to plug custom indexer (and
> if this is intended to be). While it's stated the indexer is WIP, is there
> some post that can help me? I want to have secondary indexes
re #1 — my read-fn was not properly written. This explains recursive readers
very well https://github.com/awkay/om/wiki/Om-Next-Overview
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.