It's ok to update component local state during render via om/set-state!, I don't see a good use case for updating global application state from render.
david On Wed, Jan 15, 2014 at 9:09 AM, Ruslan Prokopchuk <fer.ob...@gmail.com>wrote: > David, but is it ok to update component & app state in render? My > knowledge about Om/React is still very incomplete, so I don't understand > fully how things should be organized. > > -- > 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.