Skip to content

<noscript /> gives problems in IE8 #1341

@sophiebits

Description

@sophiebits

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions