loading...

Make your react apps compatible with IE

k_penguin_sato profile image K-Sato ・1 min read

Installation

npm install react-app-polyfill

or

yarn add react-app-polyfill

Import entry points

Import the packages at the top of your index.tsx or index.jsx.

import 'react-app-polyfill/ie9';
import 'react-app-polyfill/ie11';
import 'react-app-polyfill/stable';

That's it! Now your react app should run on IE without any errors.

Resources

Discussion

markdown guide