Skip to content

IE9: Unable to call apply on console.error when encountering an unknown tag #13610

Closed
@nhunzaker

Description

@nhunzaker

This was introduced in React 16.5.0.

If IE9 encounters an unknown html element in development, React crashes as it attempts to call console.error.apply here:

console.error('Warning: ' + format, ...stringArgs);

This is reproduceable with the following CodePen:

Code
https://codepen.io/nhunzaker/pen/YOeZXv

Demo
https://s.codepen.io/nhunzaker/debug/YOeZXv/mWMoNxzPjbZk

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions