Skip to the page

Mobile · 50 concepts

React Native

How React Native really works in 2026 (New Architecture, Hermes, threads) and how to build fast, secure, shippable apps with it.

Asked in these mock interviews

Part 1 · 7 concepts

How React Native runs your app

  1. 01

    Threads and frames: what "dropping frames" means

    A React Native app runs your JavaScript and React on one JS thread and draws native views on the UI (main) thread; each thread has about 16.7 ms per frame at 60 Hz (8.3…

  2. 02

    The old bridge and the New Architecture

    The old architecture sent every call between JS and native as an asynchronous, batched, JSON-serialized message over "the bridge"; the New Architecture replaces it with…

  3. 03

    JSI: direct calls between JS and native

    JSI is a C++ interface to the JavaScript engine that lets native code expose functions and HostObjects which JS calls directly, even synchronously, with no JSON in…

  4. 04

    Fabric: render, commit and mount

    On Fabric, a React update goes through render (React elements become an immutable C++ shadow tree, usually on the JS thread), commit (Yoga computes layout and the new…

  5. 05

    TurboModules and Codegen

    A TurboModule is a native module built on JSI, described by a typed spec file whose name starts with Native, created lazily the first time JS uses it, and connected to…

  6. 06

    Hermes and Hermes V1

    Hermes is React Native's default JavaScript engine: it compiles your JS to bytecode at build time so the phone skips parsing at startup, and Hermes V1 (a new compiler…

  7. 07

    App lifecycle, AppState and process death

    AppState tells JS whether the app is active, inactive (iOS only) or in the background, and because the OS can kill a backgrounded app at any time without running any of…

Part 2 · 4 concepts

Components, layout and platform differences

  1. 08

    Core components and accessibility props

    React Native turns host components such as View, Text, Image, TextInput, ScrollView and Pressable into real native views, every string must be inside <Text>, and screen…

  2. 09

    Styling and iOS vs Android differences

    React Native styles are plain JS objects with no cascade, no selectors and unitless density-independent pixels, and the same style can look different on iOS and…

  3. 10

    Yoga flexbox and responsive screens

    React Native lays out views with Yoga, a flexbox engine whose defaults differ from the web (column direction, flexShrink 0, alignContent flex-start, flex as a single…

  4. 11

    Safe areas, edge-to-edge and the keyboard

    Modern screens draw under the status bar, notch, gesture bar and keyboard, so you read insets from react-native-safe-area-context and handle the keyboard per screen…

Part 3 · 4 concepts

Lists: thousands of rows without jank

  1. 12

    How FlatList virtualization works

    FlatList (built on VirtualizedList) renders only the rows inside a window around the screen, measured in screen heights, and replaces far-away rows with empty space, so…

  2. 13

    Tuning FlatList: getItemLayout, batching and light rows

    A FlatList is fast when its rows are cheap and stable (memoized row, stable callbacks, stable keys, small cached images) and when it can skip measuring rows…

  3. 14

    FlashList v2, recycling and Legend List

    FlashList keeps a pool of mounted cells and, when a row scrolls away, re-renders that same cell with a new item instead of unmounting it, which cuts blank areas and…

  4. 15

    Infinite lists: pagination, pull-to-refresh and chat lists

    A production list loads pages with a cursor, guards onEndReached against double calls, resets cleanly on pull-to-refresh, ignores stale responses, removes duplicates by…

Part 4 · 6 concepts

Performance: measure, then fix

  1. 16

    Measuring performance: release builds, Perf Monitor and DevTools

    You find jank by measuring in a release-like build: the Perf Monitor shows JS and UI frame rates separately, React Native DevTools (which replaced Flipper and Chrome…

  2. 17

    Re-renders, memo and the React Compiler

    A component re-renders when its parent renders, its state changes or a context it reads changes; React.memo skips a render only when every prop is shallow-equal…

  3. 18

    Keeping the JS thread free: splitting and deferring work

    When work must run on the JS thread, you keep the app responsive by doing less, splitting long tasks into small chunks, deferring non-urgent work with…

  4. 19

    Images: decoded size, caching and expo-image

    An image costs memory by its decoded pixels (width × height × 4 bytes), not by its file size, so you request display-sized images from a CDN, show thumbnails in lists…

  5. 20

    Startup time (TTI) and app size

    Cold start = native init + loading the Hermes bytecode + running module code + first render + first data, so you measure each phase in release builds and cut it by…

  6. 21

    Memory leaks, ANRs and low-end Android

    Memory leaks in React Native apps usually come from listeners, timers and subscriptions that are never cleaned up, screens that stay mounted in a stack, and uncapped…

Part 5 · 4 concepts

Animations and gestures

  1. 22

    The Animated API and useNativeDriver

    Animated describes an animation as a graph of values; with useNativeDriver: true the whole graph is sent to native once before it starts and runs on the UI thread, so…

  2. 23

    Reanimated: shared values and worklets

    Reanimated runs small JS functions called worklets on a second JS runtime on the UI thread and connects them to React through shared values, so gesture- and…

  3. 24

    Reanimated 4: CSS animations, transitions and layout animations

    Reanimated 4 adds web-style CSS animations (animationName with keyframes) and CSS transitions in the style prop for state-driven effects, keeps worklets for gesture and…

  4. 25

    Gestures with React Native Gesture Handler

    React Native Gesture Handler recognises touches natively on the UI thread and, with Reanimated, drives animations from gesture events without a JS round-trip; version 3…

Part 6 · 4 concepts

Navigation and deep linking

  1. 26

    React Navigation: navigators, native stack and auth flow

    React Navigation builds screens from navigators (stack, native stack, bottom tabs, drawer) that you nest; the native stack uses the platform's own navigation on the UI…

  2. 27

    Navigation actions, params, double taps and back handling

    In React Navigation 7, navigate updates the current screen or pushes a new one (it no longer jumps back to an earlier screen), push always adds, popTo goes back to an…

  3. 28

    Deep linking: cold start, warm start and notification taps

    A deep link must work whether the app is killed (Linking.getInitialURL), in the background or open (the "url" event); React Navigation's linking config maps the URL…

  4. 29

    Universal Links, App Links and deep-link security

    Universal Links (iOS) and verified App Links (Android) open your app for https URLs only after the OS checks a file on your domain (apple-app-site-association /…

Part 7 · 4 concepts

State, data and offline

  1. 30

    Choosing state management: server state vs client state

    Separate server state (API data, best kept in TanStack Query or RTK Query with caching, dedupe and refetch) from client state (UI, session, preferences, kept in…

  2. 31

    Local storage: AsyncStorage, MMKV, SQLite and secure storage

    Choose storage by data shape and sensitivity: AsyncStorage for small non-sensitive key-values, MMKV for fast synchronous key-values, SQLite (expo-sqlite, op-sqlite) for…

  3. 32

    Network patterns: token refresh, batching, races and cancellation

    Senior React Native coding rounds test async control: refresh an expired token exactly once while other requests wait, batch many small calls into one, cancel or ignore…

  4. 33

    Offline-first: outbox, sync and conflicts

    An offline-first app reads from a local database, records every change in an outbox with an idempotency key in the same transaction, syncs when the network and the OS…

Part 8 · 2 concepts

Native code

  1. 34

    When to write native code, and which way

    Write native code when you need a platform API, a native SDK or CPU-heavy work that no maintained library covers; choose a native module for an API and a native…

  2. 35

    Writing a Turbo Native Module and a Fabric native component

    To add native code on the New Architecture you write a typed spec (NativeX.ts for a module, XNativeComponent.ts for a view), declare it in codegenConfig, let Codegen…

Part 9 · 3 concepts

Mobile security

  1. 36

    Secure storage, tokens and biometric login

    Keep secrets out of plain storage: refresh tokens go in the iOS Keychain or Android Keystore-backed storage (react-native-keychain, expo-secure-store), access tokens…

  2. 37

    Network security and SSL pinning

    SSL pinning makes the app trust only your server's known public keys, which blocks man-in-the-middle attacks that use a malicious or user-installed root certificate…

  3. 38

    Hardening: secrets, obfuscation, root detection and attestation

    Anything shipped in the APK, IPA or JS bundle can be extracted, so real secrets stay on the server, obfuscation (R8, Hermes bytecode) only slows attackers down…

Part 10 · 3 concepts

Push notifications and background work

  1. 39

    Push notifications: APNs, FCM, tokens and permission

    Your server sends a push through FCM (HTTP v1), which delivers to Android directly and to iOS through APNs, so the app must ask for permission at a good moment…

  2. 40

    Handling notifications: app states, data-only messages and channels

    What runs when a push arrives depends on the app state and the message type: the OS shows notification messages in the background, data-only messages wake a background…

  3. 41

    Background tasks and background location

    Mobile operating systems decide when your app may run in the background: iOS BGTaskScheduler and Android WorkManager run tasks opportunistically (Android at most every…

Part 11 · 4 concepts

Release, monitoring and testing

  1. 42

    Signing, versioning, store review and staged rollouts

    A release is a signed binary with a marketing version and an always-increasing build number, uploaded through Play App Signing or App Store Connect, checked by store…

  2. 43

    Crash reporting, symbolication, analytics and incidents

    Production monitoring means every JS and native crash arrives readable (source maps per release and per OTA update, dSYMs, R8 mappings) and tagged with version and…

  3. 44

    Upgrading React Native safely

    React Native ships about six minor versions a year and supports only the latest three, so a senior plan upgrades a few versions at a time with the Upgrade Helper…

  4. 45

    Testing React Native apps: Jest, RNTL, Detox and Maestro

    Test logic with Jest, screens with React Native Testing Library by what the user sees (roles, text) with native modules mocked, and a few critical journeys end to end…

Part 12 · 5 concepts

Trade-offs and mobile system design

  1. 46

    React Native vs Flutter vs native

    Choose by team, product and platform needs: React Native gives JS/TS talent, real native views, web code sharing and OTA updates; Flutter draws every pixel with its own…

  2. 47

    Mobile system design: an offline-capable feed

    A mobile design round is won by a clear structure (requirements, client architecture, data and API, list and media performance, offline, observability), shown here on a…

  3. 48

    Mobile system design: a chat app

    A mobile chat client keeps messages in a local database, sends optimistically with client ids over a WebSocket (and falls back to push plus re-sync when the OS kills…

  4. 49

    Mobile system design: image upload with retry

    A reliable photo upload compresses on the device, uploads straight to object storage with a short-lived pre-signed URL (in chunks or a resumable session for big files)…

  5. 50

    Mobile system design: a payments flow

    A mobile payment flow is a state machine driven by your server: create an order with an idempotency key, hand off to the payment SDK or UPI app, then confirm the final…

Your first interview is free

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview