This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-07
Channels
- # admin-announcements (4)
- # beginners (63)
- # boot (67)
- # clara (29)
- # cljs-dev (38)
- # cljsjs (10)
- # clojars (7)
- # clojure (336)
- # clojure-belgium (3)
- # clojure-dev (22)
- # clojure-greece (30)
- # clojure-nl (1)
- # clojure-russia (9)
- # clojure-spain (3)
- # clojure-spec (169)
- # clojure-uk (12)
- # clojurescript (45)
- # clojurex (4)
- # core-matrix (3)
- # cursive (58)
- # datascript (3)
- # datomic (18)
- # events (38)
- # hoplon (228)
- # immutant (5)
- # lambdaisland (6)
- # leiningen (3)
- # luminus (8)
- # off-topic (11)
- # om (113)
- # om-next (2)
- # onyx (10)
- # parinfer (7)
- # planck (22)
- # re-frame (11)
- # reagent (25)
- # robots (7)
- # spacemacs (3)
- # specter (10)
- # yada (3)
Hi there. Desperately looking for CSSTransitionGroup. My deps:
[cljsjs/react-with-addons "15.1.0-0"]
[cljsjs/react-dom "15.1.0-0"]
My requires:
[cljsjs.react]
[cljsjs.react.dom]
Trying:
(def css-trans-group (-> js/React (aget "addons") (aget "CSSTransitionGroup")))
.
addons
is undefined in either of js/React or js/ReactDOM.
I am not using Om / Reagent / Sablono / NameYours at this point, so there should be no conflicting React imports?
Please where have addons gone to?
Thankies!Removed [cljsjs/react-dom "15.1.0-0"]
dep, Still have ReactDOM and React, but yet no addons, nor CSSTransitionGroup 😕
my :require
is (:require [cljsjs.react])
, and for dependency I only included [cljsjs/react-with-addons "15.1.0-0”]
. obviously you’ll want to pull the react-dom
as well for web stuff
Mwah =(
Back to hell: Uncaught TypeError: Cannot read property 'CSSTransitionGroup' of undefined
.
After adding react-dom to the play.
Need to engineer an :exclude
I guess...
Deps tree is great help when dealing with exclusions: lein deps :tree
(or something)` or boot show -d