Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.1/react.js"></script>
</head>
<body>
<div id="example"></div>
<script>
(function() {
var TheApp = React.createClass({
  
  render: function() {
    return (
      React.createElement("div", null)
    )
  }
})
React.render(
  React.createFactory(TheApp)(),
  document.getElementById('example')
);
}())
</script></body></html>
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers