Microsoft Dec 8, 2020

Keeping Android app size in check with React Native Upgrades | by Sparsha Saha | Microsoft Mobile Engineering | Medium

Article Summary

Microsoft Teams faced a 1.2 MB app size bloat after upgrading React Native. Here's how they cut it down to just 0.48 MB.

The Microsoft Teams mobile engineering team shares their systematic approach to controlling Android app size during a React Native upgrade from 0.64.2 to 0.68.3. Larger app sizes directly impact downloads and user engagement, making this work critical.

Key Takeaways

Critical Insight

Through methodical analysis of shared libraries and removing unused new architecture components, Teams reduced their React Native upgrade bloat by 60%.

The team knows this size win is temporary: when they enable the new architecture, those bytes are coming back.

Recent from Microsoft

Related Articles