title: How to get this in Prototype function in React.component
body: <p>For Example ,i need to get Component object by 'this',but 'this' is undefined</p>
  
  <p>component:</p>
  
  <pre><code> &lt;Menu onClick ={()=&gt;this.MenuNavigate()}/&gt;
  </code></pre>
  
  <p>protoTypeFunction:</p>
  
  <pre><code>React.Component.prototype.MenuNavigate = (e) =&gt; {
      // let url = e.item.props["data-url"]
      console.log(this)-&gt;undefined
  }
  </code></pre>
  
  <p>How to get 'this' ?</p>
  
  <p>i think all components extends React.Component, so i want to use function in all components what extends React.Component,for i don't need to wirte once more</p>