Skip to content

Issue with dangerouslySetInnerHTML and markup rehydration #11228

@smashercosmo

Description

@smashercosmo

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
When trying to rehydrate markup in IE11 'Argument is not optional' error is thrown. It happens only if component has dangerouslySetInnerHTML prop.

Example
https://jsfiddle.net/oy9awLtq/

What is the expected behavior?
No error should be thrown

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
React version: 16
Browser: IE11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions