-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.8 release #307
Comments
Hi @Deraen Thanks for the work on reagent! Just wanted to throw my 2 cents that 0.8.0-alpha1 does not work with devcards (ver 0.2.3) as it directly requires react as cljsjs.react (I think?). I am speculating that it should be fine as long as devcards updates to require cljsjs.react the same way as the latest reagent does, but not sure at the moment. update: Dug a bit deeper and I just had to exclude cljsjs/react and cljsjs/react-dom from devcards to make sure I was using the latest cljsjs/react... Sorry for the noise... |
I have opened PRs on other projects so make them work with global-exports and module-processing also: bhauman/devcards#127 We have some ideas still that might make the change easier and "less-breaking". |
I tried to upgrade a project to 0.8.0-alpha1 and use a react library with If it can help : An example of the numerous warnings when compiling:
|
@Frozenlock Which React and Cljs versions did you try? |
[org.clojure/clojurescript "1.9.908"]
:npm-deps
{:react "15.6.1"
:react-dom "15.6.1"
:create-react-class "15.6.0"
:react-sortable-hoc "0.6.7"} |
@Frozenlock Can you try without react-sortable-hoc? It is possibile that ReactChildren file is only included in build when using that. |
Same thing :-( The only way I can get the advanced compilation to work again is to delete the edit : And remove everything in |
New problem in 8.0 alpha2 : When updating projects from clojure 1.8 to 1.9, advanced compilation doesn't work anymore. Can be tested using the reagent-template to create a new project and then updating clojure. |
@Frozenlock works for me. |
@Deraen On which java version are you? |
I haven't tested with Java 9. Strange that Java version would affect this. Do you have any errors or information you could share? |
Like I said, it seems to be messing with the advanced compilation process. In the console : Uncaught TypeError: Cannot read property 'a' of undefined
at hk (component.cljs:272)
at kk (component.cljs:326)
at Pk (component.cljs:332)
at Mk (template.cljs:421)
at dom.cljs:43
at Uk (dom.cljs:20)
at dom.cljs:44
at dom.cljs:39
at dom.cljs:39 Clicking on the error link (component.cljs at line 272) brings me to |
I'm having this problem too, and I'm on java 9. If I downgrade to reagent 0.7.0, it works |
Could you try with latest ClojureScript from git? Cljs had bug in Java 9 which caused the externs to not be read. This is not Reagent specific, and will affect any foreign libs under Java 9. |
Sorry I'm new to clojure. How should I edit |
It works fine with ClojureScript 1.10.238. Thanks! |
Getting close(r) to the release. I'll keep track of rest of issues using milestones https://github.com/reagent-project/reagent/milestone/2 |
:exclusions
and provide new documentationon how to use
The text was updated successfully, but these errors were encountered: