title: React Mounter, Flow Router, Use with Stateful Components
body: <p>With React Mounter and Flow Router, all the tutorials I have found so far show how to use these tools with stateless components. However, how does one use it with stateful components that are written like: </p>
  
  <pre><code>App = React.createClass({
  
    onClicked() {
      if(this.state.visible) {
        this.setState({ visible: false });
      } else {
        this.setState({ visible : true });
      }
    },
  </code></pre>