title: Get the value of clicked element in : React
body: <p>How to get the value of a clicked element in react. 
  event.currentTarget.value shows 'undefined' in react 16. Does anyone know what is the trick here ??
  BTM here is the code for an instance:</p>
  
  <pre><code>class Test extends React.Component{
          constructor(){
              super();
      }
  
  changeDimension(e){
      alert(e.currentTarget.value);
  }
  
          render(){
              return(
              &lt;div style={{height : this.state.height}} &gt;
                          &lt;h1 onClick={this.changeDimension.bind(this)}&gt; Click Me&lt;/h1&gt;
                      &lt;/div&gt;
          );
      }
  }
  </code></pre>