I have tested 3 version of reactjs.

<script src="http://fb.me/react-0.9.0.js";></script>
<script src="http://fb.me/react-0.11.1.js";></script>
<script src="http://fb.me/react-0.10.0.js";></script>

Only 0.10.0 caused this warning and using 0.9.0 or 0.11.1 worked fine 
without any warning.



> There was a brief discussion about this in the Kioo issue tracker (I thought 
> it was kioo causing the warnings as I first saw them after using kioo) and I 
> believe it happens when you use the latest version of React with Om. Om 
> itself is packaged with a slightly older version of React, so if you start a 
> new project as you did, it makes sense that you wouldn't see the warnings.
> 
> 
> 
> 
> 
> On 26 July 2014 04:15, Makoto H. <[email protected]> wrote:
> 
> 
> Hi,
> 
> 
> 
> I've tested the following project.clj and it worked fine without any warning.
> 
> 
> 
> 
> (defproject makoto "0.1.0-SNAPSHOT"
> 
>   :description "FIXME: write this!"
> 
>   :url "http://example.com/FIXME";
> 
> 
> 
>   :dependencies [[org.clojure/clojure "1.6.0"]
> 
>                  [org.clojure/clojurescript "0.0-2277"]
> 
>                  [org.clojure/core.async "0.1.303.0-886421-alpha"]
> 
> 
> 
> 
>                  [om "0.6.5"]]
> 
> 
> 
>   :plugins [[lein-cljsbuild "1.0.4-SNAPSHOT"]]
> 
> 
> 
>   :source-paths ["src"]
> 
> 
> 
>   :cljsbuild {
> 
>     :builds [{:id "makoto"
> 
>               :source-paths ["src"]
> 
>               :compiler {
> 
>                 :output-to "makoto.js"
> 
>                 :output-dir "out"
> 
>                 :optimizations :whitespace
> 
>                 ;;:source-map true
> 
> }}]})
> 
> 
> 
> Thanks,
> 
> Makoto
> 
> 
> 
> 
> 
> > Hi,
> 
> >
> 
> > I am using om and I often encounter warning of "Only React Components are 
> > valid for mounting. ". For example, when I evaluate the following 
> > expression, the warning occurs.
> 
> >
> 
> > (om/root animation-view app-state
> 
> >   {:target (.getElementById js/document "app")})
> 
> >
> 
> >  What is it and is there any way to avoid this warning.
> 
> >
> 
> > Thanks,
> 
> > Makoto
> 
> 
> 
> --
> 
> 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.

-- 
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.

Reply via email to