title: how should I use jsx in dictionary
body: <p>I want to use jsx in dict like below</p>
  
  <pre><code>var customJSX = React.createClass({ // some code });
  
  dict = {
    foo: customJSX,
  }
  
  var foo = 'foo';
  </code></pre>
  
  <p>when I call get error the second one.</p>
  
  <pre><code>&lt;dict.foo /&gt;  // right
  &lt;dict[foo] /&gt;  // wrong
  </code></pre>
  
  <p>how should I call it from dictionary when I don't know key?</p>
  
  <p>thanks for your time.</p>