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
I found this way to solve this issue.
const author = (ReactDOM.findDOMNode(this.refs.author) as HTMLInputElement).value;