title: Show a React Skeleton Loader until a image load completely
body: <p>I Have a <code>react-loading-skeleton</code> in my component, i have a static image in my page that i loaded using img tag, i want to show a skeleton component until the image loads.
  I tried react.lazy and suspense but it only shows until the component load not works until image loads completely.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import React from 'react';
  
  export default class SlideItems extends React.Component {
      render() {
          return (
              &lt;div&gt;
                  &lt;img src={require("./someImg.jpg")}/&gt;
              &lt;/div&gt;
          );
      }
  }</code></pre>
  </div>
  </div>
  </p>