react-mixin-sortablejs
react-mixin-sortablejs copied to clipboard
Warning in getting DOMNode
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.
Hi I do not know how to use it, how to install this npm package?