Meta

Dive into React Native performance

Mar 28, 2016Pieter De Baets, Alexey Lang, Frédéric Sagnes, Tadeu Zagallo
Dive into React Native performance
SummaryAI, from the source post

This post details performance optimizations for React Native app startup, reducing it by half. Key improvements include: reducing JavaScript bundle loading time by avoiding string copying and decoding, stripping DEV-only modules using Babel transforms, implementing lazy requires for modules, optimizing Relay's incremental cache read to reduce I/O and bridge traffic, de-batching non-UI bridge calls while batching Relay cache reads, enabling early UI flushing for parallel processing, lazy loading of native modules, lazy touch bindings on text components, and deferring popular events queries. These optimizations were applied to the Events Dashboard feature in the Facebook for iOS app.

More from the Parse SDK and Mobile Backend Development trail