So, you've made a good observation about the spec - it doesn't proscribe
any convention for dealing with sequences of items. The reason for this is
pretty much that the DOM is the only modern UI framework that I've worked
with that doesn't include something like an "items view". So, I understand
that an "items view" may seem like a hackish solution, but from my
perspective, it's actually the least hackish solution. I think something
like React's "key" resolution is much more hackish. That said, I have
actually been thinking about implementing something along the lines of what
React is doing with keys because I see its use case and it wouldn't be that
hard.

In any event, this is a good item for discussion.

On Thu, Nov 27, 2014 at 1:40 AM, Ruslan Prokopchuk <fer.ob...@gmail.com>
wrote:

> I've noticed that you did not mention Items View in UI-SPEC and describe
> it as something orthogonal in freactive readme. Yes, it is really could be
> implemented independently, and yes, it must be decoupled from core. But it
> reveals drawback in abstract spec — how in terms of UI-SPEC model list of
> items should be rendered? Current model only supports full rerender, you
> need items view hackery to overcome this and apply changes only where data
> has been changed. But dynamic lists of things is so common case, so spec
> should contain conceptual key to solve it without additional entities such
> as items view with its own magic. I'm not sure I have solution right now,
> but I think it is thing worth to think about.
>
> But, m.b., I am not right, and lists should stay opaque for reactive
> model. Don't know, let's discuss.
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "ClojureScript" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojurescript/99myJ9vLeKQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to