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

Upgrades React to ^15.4.2 #18

Closed
wants to merge 1 commit into from

Conversation

aaronmcadam
Copy link

@aaronmcadam aaronmcadam commented Mar 21, 2017

Hi! Thanks for a really useful component!

I've been seeing the following error in my tests:

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

My project sets react to ^15.4.2, whereas your component is hard coded to 15.4.1.

These changes should mean that only one version of React is imported by a project.

Should mean that only one version of React is imported by a project
@aaronmcadam
Copy link
Author

It turns out that this isn't the problem, there's an issue with how refs are being used in this component.

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

Successfully merging this pull request may close these issues.

None yet

1 participant