-
Notifications
You must be signed in to change notification settings - Fork 47.3k
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
Warn when using React.unmountComponentAtNode on a different React instance's tree #3787
Labels
Comments
Probably same with React.render, right? We would want to warn if you are rendering into another React's instance tree? |
Sure. @crm416 had some related warnings in #2065. |
ventuno
pushed a commit
to ventuno/react
that referenced
this issue
Aug 10, 2016
ventuno
pushed a commit
to ventuno/react
that referenced
this issue
Aug 17, 2016
zpao
pushed a commit
that referenced
this issue
Aug 19, 2016
Fixed in #7456. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should be able to look at see if the child has a data-react-id attribute but isn't rendered by this copy of React and consequently warn.
See https://groups.google.com/forum/#!topic/reactjs/mdwfKKJ0L2Q.
The text was updated successfully, but these errors were encountered: