[docs] remove unnecessary findDOMNode from example

This call is not needed anymore due to https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html#dom-node-refs
This commit is contained in:
Scott Feeney
2016-01-08 17:19:28 -08:00
parent 23167f287e
commit 0c6b909322
2 changed files with 2 additions and 2 deletions
@@ -16,7 +16,7 @@ var App = React.createClass({
},
componentDidMount: function() {
$(ReactDOM.findDOMNode(this.refs.placeholder)).append($('<span />'));
$(this.refs.placeholder).append($('<span />'));
},
componentWillUnmount: function() {
@@ -16,7 +16,7 @@ var App = React.createClass({
},
componentDidMount: function() {
$(ReactDOM.findDOMNode(this.refs.placeholder)).append($('<span />'));
$(this.refs.placeholder).append($('<span />'));
},
componentWillUnmount: function() {