Happy to announce a new release of Om. There are some breaking changes mostly to make the API more uniform - om.core/root was needlessly different from om.core/build.
The biggest and most exciting change is the inclusion of the :tx-listen option to om.core/root. This will setup a callback which will be invoked whenever an app state transaction occurs. This function will receive a map tx-data which will include the :path that changed, :old-value and :new-value on that path, :new-state and :old-state which is the entire application (useful for rollbacks), and :tag if one was provided by the transact! / update! call. It's extremely powerful to make a subscribeable channel out of this and share it over your entire application via om.core/root's :shared option. This is exactly what the reusable om-sync component does http.:// github.com/swannodette/om-sync. For a full list of changes, bug fixes, and enhancements: http://github.com/swannodette/om/blob/master/CHANGES.md Feedback welcome! David -- 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.
