title: Meteor and React: Template events
body: <p>I'm playing around with Meteor and <a href="https://github.com/reactjs/react-meteor" rel="nofollow">react-meteor</a>. However, I can't seem to grok how the template event-handling works when using react (if it even does). </p>
  
  <p>index.html:</p>
  
  <pre><code>&lt;head&gt;
    &lt;title&gt;reactjs&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h1&gt;Welcome to Meteor!&lt;/h1&gt;
    {{&gt; FormTest}}
  &lt;/body&gt;
  </code></pre>
  
  <p>lib/components/testform.jsx:</p>
  
  <pre><code>var FormTest = ReactMeteor.createClass({
    templateName: "FormTest",
    render: function() {
      return (
        &lt;div&gt;
          &lt;button className="my-button"&gt;My byutton&lt;/button&gt;
        &lt;/div&gt;
      );
    }
  });
  </code></pre>
  
  <p>index.js:</p>
  
  <pre><code>if (Meteor.isClient) {
    Template.FormTest.events({
      "click .my-button": function (event, template) {
        alert("My button was clicked!");
      }
    });
  }
  </code></pre>
  
  <p>I get nothing. </p>
  
  <p>Is there something wrong with my code or my approach? If approach, what would be the proper way to handle events?</p>