unpolyfill
react-app-polyfill replacement with IE9+ support.
Why
react-app-polyfill doesn't support IE9. The fetch polyfill it used is whatwg-fetch which is IE10+ only.
Usage
Import as ES6 module
Install unpolyfill as a dependency.
npm install --save unpolyfill
Import unpolyfill at the entry of application.
import 'unpolyfill'
Import via script
Put this line before bundle.
<script src="https://unpkg.com/unpolyfill"></script>
Features
Official
Partially adapted from react-app-polyfill readme
Promise (for async / await support)
window.fetch (a Promise-based way to make web requests in the browser)
Object.assign (a helper required for Object Spread, i.e. { ...a, ...b })
Symbol (a built-in object used by for...of syntax and friends)
Array.from (a built-in static method used by array spread, i.e. [...arr])
Map
Set
requestAnimationFrame
Bonus
Polyfill