title: jQuery UI Datepicker in React throws Uncaught TypeError
body: <p>When trying to get jQuery UI Datepicker working with React.js in a JSFiddle, the following error gets thrown in the console when you click on the input box:</p>
  
  <blockquote>
    <p>Uncaught TypeError: newDate.setHours is not a function</p>
  </blockquote>
  
  <p>Link to JSFiddle: <a href="http://jsfiddle.net/bengrunfeld/9ay9qdmd/" rel="nofollow">http://jsfiddle.net/bengrunfeld/9ay9qdmd/</a></p>
  
  <pre><code>var Date = React.createClass({
      render: function() {
          return &lt;input type="text" className="datepicker" /&gt;;
      }
  });
  
  var Calendar = React.createClass({
      componentDidMount: function() {
          $('.datepicker').datepicker();
      },
      render: function() {
          return ( 
              &lt;form&gt;
                  &lt;Date /&gt;
              &lt;/form&gt;
          )
      }
  });
  
  React.render(&lt;Calendar /&gt;, document.body);
  </code></pre>