I was experimenting with upgrading an old app I wrote a year ago to the latest
Om.
I got this JS error:
(defn wrap-form-element [ctor display-name]
(js/React.createFactory
^ Uncaught TypeError: undefined is not a function
This is with an attempt to upgrade to om 0.9.0, which pulls in [cljsjs/react
"0.13.3-0"]
I tried exclusions + forcing [cljsjs/react "0.14.0-rc1-0"] but still same error.
It seems like the React pulled in by cljsjs/react is version: "0.11.1" (or so
says the JS console).
It seems from some Googling that createFactory isn't available until version
1.0.7 of React, which doesn't seem to be available in a lein-capable jar
dependency?
This is an old project that still uses lein and lein-cljsbuild. Maybe everyone
has moved over to boot already and these dependencies are better managed there?
-ken
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.