title: Is ReactJS a controller + a view/presenter in MV*?
body: <p>On the <a href="https://facebook.github.io/react/" rel="nofollow">ReactJS official site</a>, I saw this:</p>
  
  <blockquote>
    <p>Lots of people use React as the V in MVC. Since React makes no
    assumptions about the rest of your technology stack, it's easy to try
    it out on a small feature in an existing project.</p>
  </blockquote>
  
  <p>And there is demo snippets below the text:</p>
  
  <pre><code>var MarkdownEditor = React.createClass({
    getInitialState: function() {
      return {value: 'Type some *markdown* here!'};
    },
    handleChange: function() {
      this.setState({value: this.refs.textarea.value});
    },
    rawMarkup: function() {
      return { __html: marked(this.state.value, {sanitize: true}) };
    },
    render: function() {
      return (
        &lt;div className="MarkdownEditor"&gt;
          &lt;h3&gt;Input&lt;/h3&gt;
          &lt;textarea
            onChange={this.handleChange}
            ref="textarea"
            defaultValue={this.state.value} /&gt;
          &lt;h3&gt;Output&lt;/h3&gt;
          &lt;div
            className="content"
            dangerouslySetInnerHTML={this.rawMarkup()}
          /&gt;
        &lt;/div&gt;
      );
    }
  });
  
  ReactDOM.render(&lt;MarkdownEditor /&gt;, mountNode);
  </code></pre>
  
  <p>The snippet looks like a View <strong>plus</strong> a Controller, which is a bit similar to the BackboneJS way. </p>
  
  <p>Is it true ReactJS is not only a View but also a Controller? Does anyone have ideas about this?</p>