I personally avoid doing anything impure in IInitState. To me it seems that
it should be a pure function returning a map of the local state. IWillMount
is a better place to do things.

Could you perform the updates in the parent?


On 5 September 2014 10:23, Zubair Quraishi <zuba...@gmail.com> wrote:

> I have some updates to app state which are called in the IInitState
> method, but they could occur during or out of the render phase. How should
> I do this? (The updates are called via channels, sometimes out of the
> render phase)
>
> --
> 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.
>

-- 
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