var HelloMessage = React.createClass({
render: function() {
return <div>{'Hello ' + this.props.name}</div>;
}
});
Wait, what's going on here, how come the return string isn't wrapped in quotes?EDIT: Oh I see it's something called "JSX." Interesting.