Skip to content

react-app-polyfill vs babel-polyfill #5675

@ghost

Description

Hi,

I'm upgrading to react-script 2.1.1 from 1.x.x. Part of the instructions say that react-scripts doesn't support IE11 by default anymore, and recommends including react-app-polyfill to cover the gaps. However, I've already got import 'babel-polyfill; as the very first line of my entire React application, and have been able to run in IE11 to this point without major issue (to be clear, that's running with react-script 1.x.x).

So the question: what is the difference between react-app-polyfill and babel-polyfill? Is the former a subset of the latter? A superset? If babel-polyfill works for me, should I continue to use it, or switch over?

Thanks!

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