React Native & Expo (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
What is App Size Optimization in React Native?
senior LevelPerformance
In Simple Words:
- Enable Hermes Engine (cuts JS bundle size).
- Enable R8 / ProGuard shrinking and resource shrinking on Android.
- Enable App Bundles (AAB) and split APKs per CPU architecture.
- Use SVG vectors or optimized WebP images instead of fat PNG assets.
- Tree-shake heavy libraries (e.g. replace
lodashwithlodash-esor native methods; replacemoment.jswithdate-fns).