title: image onClick failing in React
body: <p>I have a React component which renders an image. That image has to capture the onClick event, but it doesn't. There is no reason for this behavior. Here is the code:</p>
  
  <pre><code>class MyComponent extends React.Component {
  
     imageClick = () =&gt; {
        console.log('Click!!!!');
     }       
  
     render () {
        return (
           &lt;div&gt;
              &lt;img src='/myfolder/myimage.png' onClick={this.imageClick} /&gt;
           &lt;/div&gt;
        );
     }
  }
  </code></pre>
  
  <p>I can't see why it doesn't shows me back the 'Click!!!!' message in the browsers console when click on the image. It gives me back no error, no warning, no nothing. I'm using Chrome 62.0.3202 running on Linux Mint. </p>
  
  <p>When isolated this code it works, but within boilerplate it does not, which is my case.</p>
  
  <p>What am I missing here?</p>