Skip to content
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

能否将 react 更新到 15.x #72

Closed
akuma opened this issue Apr 26, 2016 · 0 comments
Closed

能否将 react 更新到 15.x #72

akuma opened this issue Apr 26, 2016 · 0 comments

Comments

@akuma
Copy link
Contributor

akuma commented Apr 26, 2016

如果使用 react 15.x,使用 Uploader 组件时会报错:

Uncaught Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).

删除 node_modules/react-weui/node_modules/react 之后没有报错了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants