8000 refs retrieving fix · Pull Request #7 · dominictobias/react-image-crop · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refs retrieving fix #7

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

Closed
wants to merge 1 commit into from
Closed

refs retrieving fix #7

wants to merge 1 commit into from

Conversation

ghost
Copy link
@ghost ghost commented Jan 5, 2016

Hi there!
I've made it work correctly only after this fix...

@dominictobias
Copy link
Owner

Hi @VrediSt, thanks for the PR, however the reason is that you are using react < 0.14. Please read the notes here: https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html#dom-node-refs

getDOMNode is now deprecated and you can access a node directly from a ref without needing to call it (or the new replacement findDOMNode)

@ghost
Copy link
Author
ghost commented Jan 5, 2016

Yes, I've missed this. Thanks!

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
0