title: React Timeout on render
body: <p>I am new to react . I want to delay the loading of a content. When the page loads i want to show a content loader like in Facebook. Content is loading so fast that it doesn't wait to show content loader. </p>
  
  <pre><code>    renderPage() {
          const {content} = this.props;
  
              if (!content) {  
                return &lt;Contentloader&gt;;
              }
              else{
                  return &lt;Main content={ content } /&gt;;
              }            
       }
  
  
     render() {
          return (
              &lt;main&gt;
                   { this.renderPage() }
              &lt;/main&gt;
          );
      }
  </code></pre>
  
  <p>So how can i delay the loading for sometime in else condition so that i can display contentLoader.</p>