title: ReactJS component functions
body: <p>Still have stupid questions about ReactJS =)
  Is there any way to add public functions to React components?
  I'm trying to make something like this:</p>
  
  <pre><code>var LoginForm = React.createClass({
      getInitialState: function() {
      },  
      render: function() {
      },
      MyFunc: function () {
      }
  })
  ...
  var login_form = LoginForm({});
  React.renderComponent(login_form, document.body);
  ...
  login_form.MyFunc (); &lt;-- error
  </code></pre>
  
  <p>Can you explain please what I'm doing wrong?</p>