var div = React.DOM.div
var h1 = React.DOM.h1

var MyTitle = React.createClass({
  render () {
    return (
      div(null,
        h1(null, 'Check out my first class component!')
      )
    )
  }
})

var MyFirstComponent = (
  div(null,
    React.createElement(MyTitle, null)
  )
)

ReactDOM.render(MyFirstComponent, document.getElementById('app'))

@@ -195,16 +195,64 @@
   %7D%0A%7D)%0A%0A
+var MyTitleFact = React.createFactory(MyTitle)%0A%0A
 var MyFi
@@ -276,24 +276,47 @@
   div(null,%0A
+    MyTitleFact(null),%0A
     React.cr

Use factory technique for rendering component