title: Cannot import image in react.js
body: <p>i have a react component and i want to import an image inside of it. The image is in the same folder as the component
  So i enter <code>&lt;img src={require('./hi.png')} /&gt;</code>. But the console shows an error:</p>
  
  <pre><code>Uncaught Error: Cannot find module "./hi.png"
      at webpackMissingModule (bundle.js:46105)
      at MainNavigationBar.render (bundle.js:46105)
      at bundle.js:15841
      at measureLifeCyclePerf (bundle.js:15120)
      at ...
  </code></pre>
  
  <p>Why is that? What im doing wrong?</p>