title: Passing props in a component that is stored in a variable
body: <p>So I have a simple and straight up question.</p>
  
  <p>So we can store react components in a variable. But now, I want to know if it is possible pass props to a component if it is stored in a variable? </p>
  
  <pre class="lang-js prettyprint-override"><code>//////////////////////////////////////////////
  //////  Normal &amp; typical React component
  //////////////////////////////////////////////
  
  const myComponent = &lt;Hello name={'Jamie'} /&gt; 
  
  render () {
  
    return myComponent;
  
  }
  
  
  ////////////////////////////////////////
  //////  What I want
  ////////////////////////////////////////
  
  const myComponent = &lt;HelloWorld /&gt; 
  
  // I want to be able to add that props here
  // something like myComponent.addProps({'name': 'jamie'});
  
  render () {
  
    return myComponent;
  
  }
  
  </code></pre>
  
  <p>My problem is well beyond just this. I wanted to know if we have such a feature in React API.</p>