Glad to hear it. I guess I will avoid that pattern then. 

By the way, I am a little worried about your change-fn below, which closes over 
data but is passed in via the opts. I believe there is no guarantee that an 
opts update will trigger a re-render. 

:main-component-m {:opts {:change-fn
                                     #(search data true)
                                     }}

I'm guessing that the subcomponent is being re-rendered every time data changes 
in a way that is relevant to it, but I would watch out. 

I try to avoid passing in any info to opts that may change.

Lucas

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to