Skip to content

Instantly share code, notes, and snippets.

@flyingmachine
Last active Aug 29, 2015
Embed
What would you like to do?
CSSTransitionGroup working with Om 0.8.8, React 0.13.3
(def app-state (atom {}))
(def ctg (-> js/React (aget "addons") (aget "CSSTransitionGroup")))
(defn app [_ owner]
(om/component
(.createElement js/React ctg
#js {:transitionName "example"
:transitionAppear true}
(dom/div nil "test"))))
(om/root app app-state
{:target (.getElementById js/document "app")})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment