Mobile

React Native Performance: From 30fps to 60fps

9 min read By Suraj Kumar Gorai

Performance is the difference between an app users love and one they uninstall. After optimizing dozens of React Native apps in production, here are the techniques that consistently deliver 60fps smooth scrolling and sub-second startup times.

The Performance Mindset

Before diving into techniques, understand this: React Native performance problems are almost always caused by unnecessary re-renders, heavy bridge traffic, or unoptimized lists. Fix these three categories and 90% of jank disappears.

FlatList Optimization

FlatList is the single most important component to optimize in any React Native app. Here's the configuration that works across our 50+ apps:

  • getItemLayout: If your items have fixed heights, always provide this. It eliminates layout measurement overhead entirely.
  • windowSize: Reduce from the default 21 to 5-10 for long lists. This controls how many off-screen items are kept in memory.
  • maxToRenderPerBatch: Set to 5-10 instead of the default 10. Smaller batches mean more responsive UI during fast scrolling.
  • removeClippedSubviews: Enable for Android. Detaches off-screen views from the native view hierarchy.
  • keyExtractor: Always use a stable, unique key. Never use array index — it causes full re-renders on data changes.

Eliminating Unnecessary Re-renders

React.memo Everything

Wrap list item components, card components, and any pure presentational component in React.memo(). Combine with useCallback for event handlers passed as props.

useMemo for Expensive Computations

Filtering, sorting, or transforming large datasets should always be memoized. A filter operation on 1,000 items that runs on every render adds 15-20ms per frame — enough to drop below 60fps.

Avoid Inline Styles and Objects

Every inline object or array creates a new reference on each render, defeating React.memo. Move styles to StyleSheet.create() and memoize dynamic style objects.

Reducing Bridge Traffic

The JavaScript-to-native bridge is React Native's biggest bottleneck. Every message crossing the bridge has a serialization cost.

  • Batch state updates: Use unstable_batchedUpdates or React 18's automatic batching to reduce bridge calls.
  • Use native animations: Animated values with useNativeDriver: true run entirely on the native thread, bypassing the bridge completely.
  • Reanimated 2+: For complex gestures and animations, React Native Reanimated runs on the UI thread without bridge overhead.

Startup Time Optimization

  • Hermes engine: Enabling Hermes reduces startup time by 40-60% on Android through ahead-of-time compilation and reduced memory usage.
  • Lazy loading screens: Don't import every screen at app launch. Use React.lazy() with your navigation library to load screens on demand.
  • Reduce bundle size: Run react-native-bundle-visualizer to identify heavy dependencies. Replace moment.js with day.js, lodash with targeted imports.

The New Architecture: Fabric & TurboModules

React Native's New Architecture eliminates the bridge entirely. Fabric enables synchronous communication with the native layer, and TurboModules provide lazy, type-safe native module loading. In our early adoption:

  • 30% reduction in interaction latency
  • 20% smaller memory footprint
  • Concurrent features enabled (Suspense, transitions) for smoother UX

Measuring Performance

You can't optimize what you can't measure. Our toolkit:

  • Flipper: React DevTools + performance profiler for development
  • Systrace: Native-level performance traces on Android
  • Xcode Instruments: Time Profiler and Core Animation FPS for iOS
  • Custom metrics: We track TTI (Time to Interactive), FPS during scroll, and JS thread busy time in production

Performance optimization is a continuous process, not a one-time task. The techniques above have consistently brought our apps to 60fps. Let's talk if you're struggling with React Native performance.