Skip to content
This repository was archived by the owner on Feb 28, 2018. It is now read-only.
This repository was archived by the owner on Feb 28, 2018. It is now read-only.

Firefox that.refs[that.props.id].getDOMNode is not a function #45

Description

@gordonk

#15

Error Line: index.js:251
var elem = that.refs[that.props.id].getDOMNode();

Works with
var elem = that.refs[that.props.id]; (now returns node by default)

The above workaround is deprecated and replaced with the following.
var elem = ReactDOM.findDOMNode(that.refs[that.props.id])

Reference:
https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html
http://stackoverflow.com/questions/29527309/react-0-13-this-getdomnode-equivalent-to-react-finddomnode

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions