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

Warning in getting DOMNode #1

Open
Tonkonozhenko opened this issue Sep 7, 2016 · 1 comment
Open

Warning in getting DOMNode #1

Tonkonozhenko opened this issue Sep 7, 2016 · 1 comment

Comments

@Tonkonozhenko
Copy link

Hi

I think that there is issue in logic of setting DOMNode here.

I think it must be, but I'm not sure:

DOMNode = typeof this.getDOMNode === 'function' ? (this.refs[options.ref] || this.getDOMNode()) : this.refs[options.ref] || this;

or

DOMNode = this.refs[options.ref] || (typeof this.getDOMNode === 'function' ? this.getDOMNode() : this);

Thanks.

@xsf0105
Copy link

xsf0105 commented Jun 30, 2017

Hi
I do not know how to use it, how to install this npm package?

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

No branches or pull requests

2 participants