Bringing Lighthouse to the App: Building Performance Metrics for React Native
Indeed open-sourced a React Native hook that adapts Core Web Vitals to mobile apps, measuring Time to First Frame (via InteractionManager), component-self-reported Time to Interactive (via markInteractive), and First Input Delay (via PanResponder plus setImmediate to capture main-thread delay). Thresholds are deliberately much stricter than web vitals (TTFF <300ms good, TTI <500ms, FID <50ms), and the metrics combine into a Lighthouse-style 0–100 score weighted 45% toward TTI. All metrics are logged as a single event after first input or a 5-second timeout. On the ViewJob screen this yielded an average score of 81 and a P75 of 95.
Related posts
- Our Solution for Measuring React Native Rendering Times
Shopify Engineering mediumAdeptShopify's open-source @shopify/react-native-performance library measures Time To Interactive in React Native apps across three scenarios: app startup, navigation between screens, and screen re-renders. It defines "rendered" by injecting an invisible marker view whose native counterpart reports when it reaches the window, so measurements include bridge communication. A state machine tracks render passes (interactive or not) and emits RenderPassReports, including a frustration signal when users leave before a screen becomes interactive. Integration requires hooks in Android, iOS and TypeScript, plus optional react-navigation wrappers. Reports can be forwarded to analytics tools such as Amplitude to track p99 TTI per screen and Apdex scores.
- Improving Shopify App’s Performance
Shopify Engineering mediumAdeptShopify cut its React Native mobile app's P75 launch time by 44% and screen load times by 59% over 2023, against targets of 2s launch and 500ms critical-screen loads. The fixes fell into three themes. The first was deferring work until it is needed: FlashList-based LazyScrollView and ListSource render only visible content, inlineRequires in the Metro config alone gave a 17% launch gain, and slow native modules were fixed. The second was eliminating unnecessary work: freezing back-stack screens cut navigation time by up to 70%, Restyle allocations were trimmed, and default state batching improved screen loads by about 15%. The third was maximizing cache use by fixing a GraphQL cache bug and pre-warming caches so up to 90% of merchants see cached data first.
- Artsy Mobile 2025 Wrapped
Artsy Engineering mediumAdeptArtsy's React Native apps (Eigen, Folio, Palette Mobile) adopted Expo and over-the-air updates after VS App Center's retirement, and all three moved to the new architecture. Navigation was consolidated on react-navigation, cutting navigate latency from 320ms to 70ms, and push notifications were unified with Notifee. Screen TTI dropped below 100ms through minimal queries, speculative prefetching, query splitting and Cloudflare CDN caching of shared query results. Other wins include building Android only for arm64-v8a, which cut build time by 75%, a move from CircleCI to GitHub Actions, Maestro E2E tests in CI, and Rozenite debugger plugins.
- More ways to debug Expo apps with the React Native SDK
Sentry mediumAdeptSentry's React Native SDK now ships a first-class, auto-registering Expo Router integration that traces screen focus and imperative router calls (via wrapExpoRouter), correlates deep links with the navigation they trigger, and captures errors from per-route ErrorBoundaries, which a Babel plugin can wrap automatically at build time. Route attributes that may contain user identifiers are gated behind sendDefaultPii. Other additions include Time to Full Display via reportFullyDisplayed(), timing spans for OTA update check and download, and source map upload improvements. Network tracking is restored on Expo SDK 56+, whose native fetch bypasses XMLHttpRequest and had silently dropped requests from traces.
- Accelerating Mobile App development at Zalando with Rendering Engine and React Native
Zalando Engineering mediumAdeptZalando is incrementally migrating its separate iOS and Android apps to React Native by reusing Rendering Engine, its React-based web framework whose "renderers" bundle data fetching, caching, observability and tracking into components. React Native ships as a package: an npm "Entry Point" is consumed both by a standalone developer app and by a native SDK exposing a simple view-factory interface. Native interop goes through turbo modules plus injected protocols, which developers can mock. UI is shared with web through react-strict-dom and StyleX, with Metro platform-specific files and compat APIs covering cases one shared implementation can't handle.