optimization

ProGuard and R8 code optimization

ProGuard and R8 shrink, obfuscate, and optimize Android apps for release builds. R8 is the default tool, combining shrinking and desugaring. I configure rules in proguard-rules.pro—keeping classes used by reflection, serialization, or native code. -ke

React memo for component optimization

React.memo prevents unnecessary re-renders of components when props haven't changed. I wrap components in memo when they're expensive to render or receive the same props frequently. The component only re-renders if props differ via shallow comparison.