title: React.js - componentDidMount not called when using renderComponentToString
body: <p>I'm setting html content to Twitter's Bootstrap popover like that.</p>
  
  <pre><code>var Content = React.createClass({
      componentDidMount: function() {
          alert('ok'); // not called
      },
      render: function() {
          return (
              &lt;div&gt;foobar&lt;/div&gt;
          );
      }
  });
  
  var Button = React.createClass({
      componentDidMount: function() {
          $(this.getDOMNode()).popover({
              placement: 'right',
              trigger: 'manual',
              html: true,
              content: function() {
                  return React.renderComponentToString(&lt;Content /&gt;);
              }
          });
      },
      render: function() {
          return (
              &lt;button onClick={this.handleClick} className="btn btn-default"&gt;{this.props.name}&lt;/button&gt;
          );
      },
      handleClick: function() {
          $(this.getDOMNode()).popover('toggle');
      }
  });
  </code></pre>
  
  <p>For that, I could set the html content into popover, I must use the <strong>renderComponentToString</strong> method. Unfortunately, this method does not call the method <strong>componentDidMount</strong>. Why is this happend and how it can be solved? Thank you.</p>