-
Notifications
You must be signed in to change notification settings - Fork 47.4k
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
findDOMNode doesn't work with this
as argument
#13652
Comments
Can you create an isolated fiddle demonstrating this? |
I was not able to reproduce this issue. All three logs that I defined appears correctly in console in order Test case that I created do not produce any warnings or errors using Feel free to edit/fork my fiddle and correct it to deliver behavior as mentioned in issue. |
Sorry for taking so long to answer. I have tried @Simek's code on I did not manage to install At this point I assume it is a problem with Will keep investigating locally. |
It was a stupid error on my side, the versions of |
I'm getting an
Uncaught Error: Unable to find node on an unmounted component.
error with this component. It is a strange behaviour ashandleClickEvent
is attached only when the component is already mounted.The issue is with
findDOMNode(this)
. For some reason it won't work. Is this the desired behaviour or I am missing something?I'm running everything with Storybook and styled.components.
React/ReactDOM versions are 16.4.0.
The text was updated successfully, but these errors were encountered: