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!
Hi,
I'm upgrading to
react-script 2.1.1from1.x.x. Part of the instructions say that react-scripts doesn't support IE11 by default anymore, and recommends includingreact-app-polyfillto cover the gaps. However, I've already gotimport '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 withreact-script 1.x.x).So the question: what is the difference between
react-app-polyfillandbabel-polyfill? Is the former a subset of the latter? A superset? Ifbabel-polyfillworks for me, should I continue to use it, or switch over?Thanks!