As you are aware, the latest ES6 / ES7/ ES8 features such as promises, arrow functions, etc are not supported by older browsers, so we use Babel to convert the code to ES5 code which all browsers understand.

When we use create-react-app to create a React application, it includes Babel by default for the conversion of ES6 to ES5 code. But that is not sufficient to support all browsers.

In this post, we’ll discuss Why you should add babel polyfill for every React application?

#react #javascript #es6 #babel

Why you Should Add Babel Polyfill for every React Application
4.80 GEEK