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 Error: removeComponentAsRefFrom(...) #869

Closed
theKashey opened this issue Feb 21, 2018 · 1 comment · May be fixed by Omrisnyk/npm-lockfiles#153
Closed

Uncaught Error: removeComponentAsRefFrom(...) #869

theKashey opened this issue Feb 21, 2018 · 1 comment · May be fixed by Omrisnyk/npm-lockfiles#153
Assignees
Labels

Comments

@theKashey
Copy link
Collaborator

theKashey commented Feb 21, 2018

4.0.0-rc.0
React 15.6.2

Multiple React-hot-loader: unable to merge top-level components, followed by

Uncaught Error: removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing 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).

In the same time - it is working as expected, doing it's work.

4.0.0-beta.20 - the same
4.0.0-beta.19 - the same
4.0.0-beta.15-19 - nothing works, everything got unmounted.

4.0.0-beta.13-14 - less of unable to merge, all about low-level components. Working.

React 16.2.0 - the same unable to merge, but no errors.

Code to reproduce: not extracted yet. Just filling the issue.

In all the cases unable to merge solved by sub-renders. This is just a parasite error message for React 15. Will try to solve the merge problem, as long it is a single pattern - I was just happy to have in my personal project.

@theKashey theKashey self-assigned this Feb 21, 2018
@theKashey
Copy link
Collaborator Author

The only thing we did not test - html elements nested in html elements nested in html elements, and no or them to be actually "replaced".

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

Successfully merging a pull request may close this issue.

2 participants