It appears to be intentional, since om/refresh is actually just (om/set-state owner (om/get-state owner))
On 18 August 2014 21:21, Shaun Williams <[email protected]> wrote: > I noticed that Om will re-render a component whenever its local state is > updated, regardless of whether its value has changed or not. Just curious > why props (cursors) are checked and state is not. > > Relevant expression here: > > https://github.com/swannodette/om/blob/62467f0f196d56b14873912caf3c9e2c7c466e56/src/om/core.cljs#L236 > > -- > 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. > -- 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.
