This works perfectly fine in React version 0.12:
componentDidMount: function () { var dom = this.getDOMNode(); }
The variable dom
dom
React 15.0.1 Requires this syntax: ReactDOM.findDOMNode
ReactDOM.findDOMNode
e.g.
var x = ReactDOM.findDOMNode(this.refs.author);