This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-08
Channels
- # aws (21)
- # beginners (62)
- # boot (29)
- # chestnut (1)
- # cider (110)
- # cljs-dev (37)
- # clojure (93)
- # clojure-berlin (1)
- # clojure-dev (10)
- # clojure-greece (4)
- # clojure-italy (5)
- # clojure-new-zealand (1)
- # clojure-spec (6)
- # clojure-uk (46)
- # clojurebridge (1)
- # clojurescript (54)
- # cryogen (1)
- # cursive (22)
- # datomic (72)
- # emacs (2)
- # events (3)
- # flambo (1)
- # hoplon (88)
- # jobs (6)
- # juxt (51)
- # lein-figwheel (1)
- # leiningen (3)
- # lumo (12)
- # mount (4)
- # off-topic (3)
- # onyx (3)
- # pedestal (4)
- # portkey (27)
- # re-frame (13)
- # reagent (1)
- # ring (4)
- # rum (2)
- # uncomplicate (1)
- # unrepl (3)
Hi, I'm trying myself with CSSTransitionGroup
.
But no luck:
Uncaught TypeError: Cannot read property 'CSSTransitionGroup' of undefined
These are the steps I've taken so far:
1. Add [cljsjs/react-with-addons "15.6.1-0"]
as a dependency
2. Add (:require [reagent.core :as reagent][cljsjs.react])
to the ns
3. Alias the CSSTransitionGroup
react class
(def CSSTransitionGroup (reagent/adapt-react-class
(aget js/React "addons" "CSSTransitionGroup")))
;; same result:
;;(def CSSTransitionGroup (reagent/adapt-react-class
js/React.addons.CSSTransitionGroup))
Does someone maybe have an example or could give me a pointer what I'm missing?