title: How to dynamically request a React Component based on a variable value?
body: <p>I'm wondering how to dynamically request a component based on a variable value. What I'm trying to accomplish here is the following:</p>
  
  <pre><code>import Template1 from './Template1.jsx';
  import Template2 from './Template2.jsx';
  
  var ComponentTemplate = (some_condition === true) ? "Template1" : "Template2"
  
  render() {
      &lt;ComponentTemplate prop1="prop1 val" /&gt;
  }
  </code></pre>
  
  <p>Is this even possible? If so, how?</p>