I suppose you can just get the DOM Node with ReactDOM.findDOMNode(this); and then get it innerText or whatever you need from it.
var Hello = React.createClass({ handleClick: function() { var domNode = ReactDOM.findDOMNode(this); alert(domNode.innerText); }, render: function() { return <div className="div1" onClick={this.handleClick}> HEkudsbdsu </div> } });
This is a slightly easy way to do this, but it will work.
Note that pre 0.14 React, you just use React , not ReactDOM .
source share