I fail to understand why the following would not render a button on the page:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Basic Example</title>
</head>
<body>
<div id="container"></div>
<script src="./build/react.js"></script>
<script src="./build/react-dom.js"></script>
<script src="./build/react-with-addons.js"></script>
<script type="text/jsx">
/** @jsx React.DOM */
var Button = React.createClass({
render: function(){
return (
<button>Go</button>
)
}
});
ReactDOM.render(<Button />, document.getElementById('container'));
</script>
</body>
</html>
The only output i see in the console is:
Download the React DevTools for a better development experience: https://fb.me/react-devtools
As I understand this is not an error message.