React - Get text of div on click without refs
<p>Is there an example where we can retrieve the value of a React element without the usage of refs? Is that possible? </p>

<pre><code>var Test = React.createClass({

  handleClick: function() {
    alert(this.text);
  },
  render: function() {
    &lt;div className="div1" onClick={this.handleClick}&gt; HEkudsbdsu &lt;/div&gt;
  }
})
</code></pre>