This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-13
Channels
- # admin-announcements (1)
- # beginners (10)
- # boot (15)
- # cider (9)
- # clara (195)
- # cljsrn (24)
- # clojars (20)
- # clojure (46)
- # clojure-android (1)
- # clojure-germany (15)
- # clojure-greece (16)
- # clojure-nl (1)
- # clojure-russia (13)
- # clojure-spec (28)
- # clojure-uk (44)
- # clojurescript (104)
- # clojurex (1)
- # component (7)
- # css (2)
- # cursive (27)
- # datomic (92)
- # dirac (12)
- # emacs (5)
- # lambdaisland (3)
- # lein-figwheel (36)
- # mount (87)
- # off-topic (8)
- # om (102)
- # om-next (3)
- # onyx (30)
- # pedestal (3)
- # re-frame (26)
- # reagent (20)
- # robots (4)
- # specter (18)
- # spirituality-ethics (1)
- # untangled (127)
- # yada (11)
So I tried upgrading to the new Reagent 0.6.0.rc-1 and I’m now getting this exception.
TypeError: Cannot read property '__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' of undefined
at
at
at
at syncImportScripts (?
has anyone else encountered this?
that’s a great property name btw 🙂
@seantempesta: Haven’t tried rc-1 yet. Still on alpha-2
Well I’ve done something stupid and also upgraded react-native to 0.27.0, so now I’m not sure what’s causing the problem
@seantempesta: I’m on 0.27.0 without problems, react 15.1.0
what’s broken about it?
yeah, that’s pretty dumb
using react-native-router-flux
and I think they are using NavigationExperimental atm
I dunno, I tried using NavigationExperimental and was horribly confused.
Tabs? Modals? Automatic Headers?
I don’t really like it though, and am hoping to switch to https://github.com/wix/react-native-navigation
Ok! Tabs should be solved by NavigationExperimental eventually, headers was fairly easy to implement. Alright...
Hmm, so it appears my error is being caused because react-dom-server
is being loaded. But I specifically excluded it in my lein project dependencies. This looks right, right?
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.170"]
[reagent "0.6.0-rc" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/react-dom-server]]
[reagent "0.6.0-alpha2" :exclusions [cljsjs/react
cljsjs/react-dom
cljsjs/react-dom-server]]
Have you created an empty file (ns cljsjs.react.dom.server)
? And you also need another file (ns reagent.dom.server)
?
um, no
oh I see