Closed kthu closed 7 years ago
More than likely this was caused be me downgrading the cljsjs/react-dom library from [cljsjs/react-dom "0.14.3-1"] to [cljsjs/react-dom "0.14.3-0"] to bring it inline with the react and react-dom-server libraries. Apparently it was that was for a reason.
You can probably fix this by adding [cljsjs/react-dom "0.14.3-1"] to your dependencies.
You can probably fix this by adding [cljsjs/react-dom "0.14.3-1"] to your dependencies.
Indeed. That fixed it. Thanks!
I've just had the similar problem with the latest Reagent. Excluding react stuff in devcards dep fixed it:
:dependencies [
[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.36"]
[reagent "0.6.0-rc" :exclusions [cljsjs/react]]
[cljsjs/react-with-addons "15.1.0-0"]
[devcards "0.2.1-7" :exclusions [cljsjs/react cljsjs/react-dom]]]
Upgrading devcards from 0.2.1-6 to 0.2.1-7, breaks my project when building with :optimizations :advanced.
I reproduced the problem in a minimal project:
Project available here: https://github.com/kthu/devcards-problem