-
Notifications
You must be signed in to change notification settings - Fork 782
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
BUG: invariant.js:38 Uncaught (in promise) Error: 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
#863
Comments
An update, the subpackage react-toastr has another version of react than i use, this causes a crash that makes my app unusable... How can i prevent this? |
Cause of |
Hello: I'm seeing this error also. Interestingly enough it only showed up after we deployed our code to AWS, thus, adding some real testable latency to everything. Not seeing the issue locally, which is odd. Btw, I have |
Update: so I removed |
Update 2: @rasmuslundberg rolling back to v2.5.9 will resolve the issue for now. |
@musbaig, what's the version of your In you local development, did you remove the |
Hi! @AllenFang im running react 15.4.0, i got this message in out prod and test environments but not locally. Just as you @musbaig... i rolled back immidiatelly. Thank you for the Quick response! |
@rasmuslundberg, what's the npm version you used? And because I test it on my local, it's all fine. Currently, there's only one known bug is that if you use BTW, if you can, please tell the your npm version, react version, your step to reproduce and which step got the error is better to me to find the root cause. If a simple and minimal repo for me is awesome. Thanks :) |
@AllenFang I'm running |
@musbaig, thanks, I'll check this out :) |
hi all, I've test on my local with BTW, I just setup a simple react boilerplate and change react version as In |
"<script src="build/react.js"></script> " <script src="build/react.js"></script> |
Hey @AllenFang I am facing the same issue. I am using [email protected], [email protected], [email protected] and [email protected]. Please reply me as soon as possible. Here is the screenshop of table installation |
@gauravagam, sorry, this issue is supposed to be fixed, but I still cant reproduce this issue currently, I will try again with your environment. |
Ok @AllenFang |
I'm getting this issue after cloning react-bootstrap-table locally, building it, and |
After |
Im getting this error message,
react-bootstrap-table has worked perfectly until all of a sudden this appeared. I have tried to alias. Im using:
"react-bootstrap-table": "^2.6.0",
Also using webpack, tried:
resolve: {
alias: {
'react': path.resolve(__dirname, '../node_modules/react')
},
extensions: ['', '.js', 'jsx']
},
..But that didn't help.
Based on the error message there is some refs misson on ComponentDidUnMount() when a new table is requested... Anyone have a idea whats wrong?
The text was updated successfully, but these errors were encountered: