
3/28/2016 · Pieter De Baets, Alexey Lang, Frédéric Sagnes, Tadeu Zagallo
What this post added
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.