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

Uncaught Invariant Violation: addComponentAsRefTo #9

Open
heshanlk opened this issue Oct 20, 2016 · 0 comments
Open

Uncaught Invariant Violation: addComponentAsRefTo #9

heshanlk opened this issue Oct 20, 2016 · 0 comments
Assignees

Comments

@heshanlk
Copy link

heshanlk commented Oct 20, 2016

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'srendermethod, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).

Getting this error with latest React 15

Reference:
https://facebook.github.io/react/warnings/refs-must-have-owner.html

@dphaener dphaener self-assigned this Jun 19, 2017
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