title: How to add delay in React.js?
body: <p>I am new to React.js. I am not sure how to add <code>delay</code> to render in React.js. What is the best way to add delay.</p>
  <p>I am adding the following code in render but its not working.</p>
  <pre><code>setTimeout(function() {
     
  }, 1000);
  </code></pre>