Skip to content

IE11 needs a Promise polyfill for React 16.7 #1552

@Kazimirkas

Description

@Kazimirkas

IE11 needs a Promise polyfill for React 16.7.
If you are using Lazy and Suspense feature, IE throws a null error. In 'readLazyComponentType' function implementation.

This is the bug example (comment out the Promise and it will work in IE 11)

https://codesandbox.io/s/7z37jwm5jj

screen shot 2019-01-14 at 11 44 03 pm

If this issue will be confirmed, I would be proud to get my PR accepted for the documentation https://github.com/reactjs/reactjs.org/blob/master/content/docs/reference-javascript-environment-requirements.md?fbclid=IwAR3i6PnqPmLG_MUVk4IQXffXrMlvBchlb9UdA2BeXq_VDQJ9fMh8DoFPSJA
to extend the list of required polyfills
:)

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