title: React-Contextmenu - console.log() doesn't work
body: <p>I have a small problem in React.
  I added the following extention to my project: <a href="https://www.npmjs.com/package/react-contextmenu" rel="nofollow noreferrer">https://www.npmjs.com/package/react-contextmenu</a></p>
  
  <p>Can you explain me why console.log inside the "MenuItem" is not working but outside it works?</p>
  
  <pre><code>&lt;ContextMenu id="test"&gt;
     &lt;MenuItem&gt;
      {/* no console log :( */}
      &lt;a onClick={(e)=&gt;{e.preventDefault();console.log('Inside MenuItem');}}&gt;Click Me&lt;/a&gt;
     &lt;/MenuItem&gt;
      {/* console log works */}
      &lt;a onClick={(e)=&gt;{e.preventDefault();console.log('Inside MenuItem');}}&gt;Click Me&lt;/a&gt;
  &lt;/ContextMenu&gt;
  </code></pre>