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

Move react to peerDependencies and devDependencies #26

Merged
merged 1 commit into from
May 28, 2015
Merged

Move react to peerDependencies and devDependencies #26

merged 1 commit into from
May 28, 2015

Conversation

Halama
Copy link
Contributor

@Halama Halama commented May 27, 2015

Otherwise multiple versions of React can be loaded which causes weird bugs such as
Uncaught Error: Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. This usually means that you're trying to add a ref to a component that doesn't have an owner (that is, was not created inside of another component'srendermethod). Try rendering this component inside of a new top-level component which will hold the ref.

See also JedWatson/react-select#88 YahooArchive/flux-router-component#33

moroshko added a commit that referenced this pull request May 28, 2015
Move react to peerDependencies and devDependencies
@moroshko moroshko merged commit 1077b0d into moroshko:master May 28, 2015
@moroshko
Copy link
Owner

Thanks a lot for the Pull Request and the relevant links!

@moroshko
Copy link
Owner

It's in v1.14.0 now

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.

2 participants