This throws an error in IE8 because the <noscript /> tag doesn't exist once rendered into the DOM:
/** @jsx React.DOM */
var Hello = React.createClass({
render: function() {
return (
<div>
{this.props.x ? <noscript /> : null}
</div>
);
}
});
React.renderComponent(<Hello x={true} />, document.body);
React.renderComponent(<Hello x={false} />, document.body);
Thanks @matthewwithanm for pointing out a version of this.