Hi Daniel!

Can you clarify this moment a bit for me:

On Wednesday, April 9, 2014 2:33:31 PM UTC+4, Daniel Kersten wrote:
> I can pass the entire app state to each component (perhaps trough shared 
> state) and use transformation functions (similar to what Sean Grove did in 
> his recent slides) to transform the state into a local view for each 
> component. This means each component gets to select exactly what it needs to 
> access without worrying about what comes before or after it in the hierarchy, 
> but then you lose the benefit of cursors and automatic re-rendering when 
> something changes.

Why do you say that in this case "automatic re-rendering when something 
changes" is being lost? Not clear to me, it seems working ok for some of my 
components which get passed a 'whole' app state... I'm interested to know if I 
maybe miss something here :)

Dmitry.

-- 
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 http://groups.google.com/group/clojurescript.

Reply via email to