In React JSX it does not appear to be possible to do something like this:
You should not put component slug in curly braces:
var Hello = React.createClass({
render: function() {
return
{this.props.component.value}
;
}
});
React.renderComponent( , document.body);
Here is a working fiddle: http://jsfiddle.net/kb3gN/6668/
Also, you can find JSX Compiler helpful for debugging these kind of errors: http://facebook.github.io/react/jsx-compiler.html