Created
February 17, 2014 20:52
-
-
Save hunterloftis/9058885 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @jsx React.DOM */ | |
var React = require('react'); | |
module.exports = React.createClass({ | |
render: function() { | |
<h1>Route: { this.props.route }</h1> | |
} | |
}); |
Author
hunterloftis
commented
Feb 17, 2014
It's not returning the component. It should be :
/**
* @jsx React.DOM
*/
var React = require('react');
module.exports = React.createClass({
render: function() {
return (
<h1>Route: { this.props.route }</h1>
);
}
});
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment