Sorry Google it’s high time, Angular Vs React
I never want to do this but the way Google Lighthouse destroyed the Moment JS, Google lighthouse should start recommending us with React Over Angular. All of us must had used Moment JS in those projects where we want to play around with date, time in multiple regions or UTC to just inform you now moment JS is a legacy project https://momentjs.com/docs/
Now many will say how can you compare Framework with a library, let’s compare only a few packaged which are core for Angular and the size difference
Let’s see the list of Dependencies for both
Angular [core/compiler] I am just assuming because the library list is quite long.
React only use two dependencies, I will add a bonus point in the last to show how Angular works like Apple to slow down the app.
Well, I had worked on both and I respect both languages when it comes to single-page applications but Google suggesting us not to use the specific package is something wrong.
Stackoverflow in-demand web frameworks
Brownie points, Angular comes with zone.js which size is greater than the “React” dependencies.
Hate me or love me, the reality is like firebase Google needs to think of improving the bundle size. FYI, Google was relaxed till Supabase (https://supabase.io) was launched.
Links: https://bundlephobia.com
https://firebase.googleblog.com/2021/07/introducing-the-new-firebase-js-sdk.html
https://www.npmjs.com
https://insights.stackoverflow.com
https://searchengineland.com/googles-lighthouse-is-now-recommending-javascript-library-alternates-344940
https://momentjs.com/docs