damirarh / damirscorner-utterances

utteranc.es comments for https://damirscorner.com
0 stars 0 forks source link

/blog/posts/20210205-ConfiguringAngularForOlderBrowsers.html #115

Open damirarh opened 1 year ago

damirarh commented 1 year ago

Imported

URL: https://www.damirscorner.com/blog/posts/20210205-ConfiguringAngularForOlderBrowsers.html

damirarh commented 1 year ago

Imported comment written by Diego on 2022-08-24T17:13:00

This was lifesaver. I had an Ionic/Angular program which stopped working in our target device stuck with WebView 72 by upgrading from Angular 13 to Angular 14. That version added Object.fromEntries() to web_animations/web_animations_player.ts, in turn breaking many Angular libraries using animations (specially @angular/material).

This particular solution didn't fix the problem, but it set me in the right track. Turns out that adding this to polyfills.ts solved it:


import 'core-js/es/object';

Now we can finally move on from Angular 13 while also giving support to our legacy clients. Thank you so much!