I\'m following the React Tutorial and got stuck on how to use React.findDOMNode.
React.findDOMNode
Here is my code:
export class CommentForm extends React.Com
References in React doesn't work like this. To get the DOM element of reference, you need to ask it in that way :
let authorElement = this.refs.author.getDOMNode();