Skip to content
loading...

Make your react apps compatible with IE

k_penguin_sato profile image K-Sato github logo ・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

twitter logo DISCUSS
Discussion
markdown guide
Classic DEV Post from Jul 30 '19

PublishTo.Dev: Scheduling article publishing on dev.to

K-Sato profile image
I am a software-engineer based somewhere on earth.