-
Notifications
You must be signed in to change notification settings - Fork 412
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
Invariant Violation since 0.6.1 #294
Comments
I think the problem is with a call to When removing this call the warning is gone. |
When updating the dependency (15.5) did you update all the react packages: [cljsjs/react-with-addons "15.5.0-0"]
[cljsjs/react-dom "15.5.0-0"]
[cljsjs/react-dom-server "15.5.0-0"] The versions for each package have to match. You can validate this with |
Thanks @Deraen , that seemed to have fixed it. Now I get these two warnings:
Is it correct to assume that these occur because reagent doesn't target this new react version yet and they will be resolved with a later version of reagent? Please allow one more question: Is this dependency statement correct or do I need to exclude more packages if I want to add my own react:
Thanks! |
Yes, this is correct. There is a issue about this: #292
This is okay if you just change the If you use something else than cljsjs packages to provide React (e.g. npm-deps), you need to exclude all three deps and create empty stub namespaces which provide |
Thank you! |
Since I switched my project from reagent 0.6.0 to 0.6.1 I regularly get the following warning message when switching views:
There's this bug in React: facebook/react#8487 , is that related?
I tried to run it with dependency vectors
or
and also with the included react package- all produce the same warning.
Is there anything I can do to trace the root of the problem? Should I just wait for the next React release?
Thanks!
The text was updated successfully, but these errors were encountered: