How I reduced app load time by 30% in React Native
- Published
- December 10, 2025
- Read
- 2 min read
- Tags
- React Native · Performance · Mobile
When I joined Ehya Education Service, Classmate users on mid-range Android phones waited over 3 seconds before the home screen appeared. Over a few months we cut that load time by 30%, and four changes did most of the work.
1. Profile before you optimize
I didn't change anything until I had numbers. I started with the React Native Performance Monitor (shake the device, then tap Show Perf Monitor) to get baselines, then used Flipper with the Hermes Debugger to trace JS thread bottlenecks.
The biggest problem was a synchronous data fetch inside useEffect on the root screen. It caused 60% of the startup delay and blocked rendering, with no skeleton UI shown in the meantime.
2. Lazy loading heavy screens
By default, React Native's bundler loads every route up front. Wrapping the non-critical screens (Settings, Profile and the deeper course pages) in React.lazy with Suspense cut the JS parse time at startup.
const Settings = React.lazy(() => import('./screens/Settings'))
// In your navigator:
<Suspense fallback={<LoadingSkeleton />}>
<Settings />
</Suspense>
3. Moving data fetching out of render
We moved the first API call out of useEffect, which runs after the first render, and into React Query's prefetchQuery at the navigation level. The data now sits in the cache before the screen mounts.
// In the tab navigator's onPress
await queryClient.prefetchQuery({
queryKey: ['home-feed'],
queryFn: fetchHomeFeed,
})
4. Image optimization
Images were the problem nobody had noticed. We switched to expo-image, which uses Glide on Android and SDWebImage on iOS. Setting contentFit="cover" and explicit width and height props on every image also stopped the layout thrash.
Results
| Metric | Before | After |
|---|---|---|
| Time to interactive | 3.2s | 2.1s |
| JS bundle size | 4.1MB | 2.8MB |
| ANR rate (Android) | 1.4% | 0.3% |
The 30% figure compares cold-start time to interactive across 200 real-device sessions in our staging environment.
Next I want to try Hermes bytecode precompilation and test whether moving to the New Architecture speeds up the JS thread.