Skip to main content
InterviewHubPRO
HomeTracksSection 48: React Native & Expo (50 Qs)
Section 48 of 6450 Questions (1 Per Page)

React Native & Cross-Platform Mobile Master Interview Bank

React Native New Architecture (TurboModules, Fabric Renderer, Bridgeless mode, JSI), Hermes bytecode pre-compilation, Reanimated 3, and FlatList profiling.

Curriculum Roadmap & Learning Path

3 Stages
Tip: Click any stage card above to instantly filter the question bank to that topic.3 Connected Milestones
50 of 50 Qs

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

10 Questions
1
JuniorCode#react-native#Basic

What is React Native and how does it render real native mobile UI?

React Native is a cross-platform mobile development framework that lets you write mobile apps using JavaScript/TypeScript and React: Not a WebView: Unlike Cordova or Ionic, React Native does not render HTML in a web browser view! • Instead, your React components (View, Text, Image) map directly to real platform-native UI elements.

2
Senior#System Design

What are the key differences between the Old Architecture (Bridge) and the New Architecture in React Native?

The Old Architecture (Legacy Bridge) • Relied on an asynchronous JSON Bridge over an IPC thread • Every UI update, touch event, and native call had to be serialized into a JSON string, sent over the bridge, and parsed by the other side.

3
Junior#react-native#Basic

What is the Hermes Engine and why is it the default JavaScript engine?

Hermes is an open-source JavaScript engine optimized by Meta specifically for React Native on Android and iOS: Bytecode Precompilation (AOT): Compiles JavaScript into optimized bytecode at build time, eliminating the expensive parsing and compilation • Blazing Fast TTI (Time To Interactive): App launches up to 50% faster.

4
Junior#react-native#Basic

How does Styling work in React Native and how does its Flexbox differ from Web CSS?

Styling is written using JavaScript objects via StyleSheet.create(): Default Flex Direction: In React Native, flexDirection defaults to column (vertical mobile layout), whereas on the web it defaults to row!

5
JuniorCode#react-native#Basic

What is the difference between `ScrollView` and `FlatList`?

ScrollView: Renders every single child element in memory simultaneously upon mount! • FlatList: Virtualized list.

6
Junior#react-native#Basic

What is the difference between Expo Managed Workflow and Bare Workflow?

Expo Managed Workflow: Zero native code editing • Bare Workflow: Full access to native android/ and ios/ folders • Prebuild (npx expo prebuild): Modern Expo bridges both, allowing custom native code via Expo Config Plugins while retaining managed workflow.

7
Junior#react-native#Basic

What is `SafeAreaView` and why is it needed on modern devices?

Modern mobile screens feature notches, camera cutouts, rounded corners, and home indicator bars: SafeAreaView automatically applies padding to ensure content is not clipped by physical device hardware boundaries.

8
Junior#react-native#Basic

What are `Pressable`, `TouchableOpacity`, and `TouchableHighlight`?

Components for handling user touch interactions: TouchableOpacity (Legacy): Diminishes view opacity on press • TouchableHighlight (Legacy): Darkens the background on press • Pressable (Modern Standard): Core component that exposes multi-stage interaction states: pressed, hovered, and focused.

9
Junior#react-native#Basic

What is `Dimensions` vs `useWindowDimensions` hook?

Dimensions.get('window'): Returns initial screen width and height • useWindowDimensions(): React hook that automatically updates and triggers re-render whenever screen dimensions change (e.g. device rotation.

10
Junior#Routing

How does Navigation work in React Native (`@react-navigation/native`)?

React Navigation is the de facto community navigation library: Stack Navigator (createNativeStackNavigator): Traditional push/pop screen navigation backed by platform-native navigation controllers • Bottom Tabs Navigator: Persistent bottom navigation bar • Drawer Navigator: Side drawer menu.

Part 2: Core Architecture & Implementation (Mid-Level)

10 Questions
11
SeniorCode#TypeScript#System Design

What is the JSI (JavaScript Interface) in the New Architecture?

JSI is a lightweight, general-purpose C++ abstraction layer: Allows the JavaScript runtime (Hermes) to directly hold a reference to a C++ Host Object, and vice versa • JavaScript can call native C++ and Swift/Kotlin methods synchronously in nanoseconds without serializing payloads to JSON or passing through an.

12
Senior#System Design

What is Fabric (the New UI Renderer)?

Fabric is React Native's modern C++ rendering engine: Replaces the legacy UIManager • Computes layout (via Yoga C++ layout engine) and creates the native view hierarchy directly from C++, avoiding thread hops.

13
Senior#System Design

What are TurboModules?

TurboModules is the native module system in the New Architecture: Old Native Modules: All native modules (Camera, Bluetooth, Location, SQLite) were instantiated and initialized in memory on app launch • TurboModules: Loaded lazily on demand.

14
Senior#System Design

What is Codegen in React Native?

Codegen enforces compile-time type safety between JavaScript and Native code (Swift/Kotlin/C++): You define TypeScript or Flow interfaces for your component props or native module methods • At build time, Codegen automatically generates C++ boilerplate, protocol headers, and glue code.

15
Most AskedSeniorCode#Async & Promises#System Design

What is MMKV and why does it replace `AsyncStorage`?

AsyncStorage (Legacy): Key-value store backed by SQLite on Android and serial plist files on iOS • react-native-mmkv: Key-value storage engine developed by WeChat • Uses memory-mapped files (mmap) via C++ and JSI • Synchronous: storage.getString('token') returns instantly!.

16
Senior#Forms#System Design

What is FlashList and how does it outperform `FlatList`?

Developed by Shopify to fix FlatList performance issues: FlatList Recycling Flaw: When scrolling, FlatList unmounts off-screen native views and creates new ones, causing CPU spikes and white blank • FlashList (View Recycling): Implements true Android RecyclerView / iOS UICollectionView recycling.

17
SeniorCode#System Design

How does React Native Reanimated 3 work using Worklets?

Traditional React animations run on the JS thread; if the JS thread is busy fetching data or rendering, animations drop frames: Reanimated 3 Worklets: Small JavaScript functions annotated with 'worklet' that are compiled to run directly on the UI / Native Thread inside a.

18
Senior#System Design

What is React Native Gesture Handler?

Standard touch events in React Native rely on the browser Responder system, which passes touches through the JS thread: Gesture Handler: Hooks directly into the native operating system touch recognition systems (UIGestureRecognizer on iOS, Android Touch Pipeline).

19
SeniorCode#System Design

How do you handle App State changes (`AppState`)?

Tracks whether the application is in the foreground, background, or transitioning: States • active: App is running in the foreground and receiving user interactions • background: App is minimized or user is on the home screen.

20
Senior#System Design

What is Over-The-Air (OTA) Updates (EAS Update / CodePush) and its limitations?

Allows developers to deploy instant bug fixes and JavaScript updates directly to users' devices without submitting a new build to the App Store or Google Play Store: What CAN be updated: JavaScript code, TypeScript assets, React components, images, CSS styling.

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

30 Questions
21
SeniorCode#react-native#Advanced Internals

How do you write a Custom Native Module using TurboModules in Swift and Kotlin?

Spec Definition: Define the TypeScript interface extending TurboModule.

22
Senior#Memory Management

What causes Memory Leaks in React Native and how do you profile them?

Memory leaks in React Native can occur in both the JavaScript Heap and the Native Heap: JS Leaks: Uncleaned event listeners (DeviceEventEmitter, AppState), dangling intervals (setInterval), retaining large data arrays in global • Native Leaks: Unreleased image bitmaps in native caches, unclosed SQLite connections • Profiling Tools.

23
Senior#react-native#Advanced Internals

What is the Yoga Layout Engine?

Yoga is an open-source, cross-platform C++ layout engine developed by Meta: Implements the W3C Flexbox specification down to bare metal • Calculates exact (x, y, \text{width}, \text{height}) coordinate boxes for all UI components • Shared across iOS, Android, and Windows, guaranteeing identical layout positioning across all devices.

24
Senior#Performance#Docker & Containers

What are Image Optimization best practices in React Native (`expo-image` vs `react-native-fast-image`)?

Standard Image component in React Native suffers from poor caching, flickering, and high memory usage: expo-image (Modern Standard) • Built on top of Glide (Android) and SDWebImage (iOS) • Advanced disk and memory LRU caching • Native WebP and AVIF image format decoding.

25
Senior#react-native#Advanced Internals

How do you implement Offline-First Sync using WatermelonDB?

WatermelonDB is a reactive database optimized for building high-scale React Native applications: Backed by SQLite on native and indexedDB on web • Lazy Loading: Thousands of records are instantiated only when accessed; memory usage remains minimal • Reactive Queries: Emits updates automatically using RxJS observables.

26
SeniorCode#react-native#Advanced Internals

What is the difference between Threading in React Native?

A React Native app runs on 4 primary threads: JavaScript Thread: Executes your business logic, React rendering, API calls, and state management • UI Thread (Main Thread): Android/iOS OS thread responsible for drawing views and handling user touch interactions.

27
Most AskedSenior#Pipes#CI/CD & DevOps

How does Fastlane automate React Native CI/CD pipelines?

Fastlane automates mobile release workflows: Generates and signs iOS provisioning profiles and certificates (fastlane match) • Increments version codes and build numbers • Compiles release binaries (buildapp).

28
Senior#Performance

What is App Size Optimization in React Native?

Enable Hermes Engine (cuts JS bundle size) • Enable R8 / ProGuard shrinking and resource shrinking on Android • Enable App Bundles (AAB) and split APKs per CPU architecture • Use SVG vectors or optimized WebP images instead of fat PNG assets.

29
Senior#SSR & Hydration

How do you handle Deep Linking and Universal Links in React Native?

Custom Schemes (myapp://): Simple, but not secure; any app can register the same scheme • Universal Links (iOS) & App Links (Android) • Standard HTTPS URLs (https://myapp.com/item/42) • Requires hosting verification files: apple-app-site-association (AASA) on iOS and assetlinks.json on Android.

30
Senior#react-native#Advanced Internals

How do you resolve Android 64K MultiDex limit in React Native?

A single Dalvik Executable (.dex) file can reference at most 65,536 methods: Large React Native apps with multiple native libraries easily exceed this limit • MultiDex: Android splits code into multiple secondary DEX files.

31
Senior#react-native#Advanced Internals

What is Flipper and how do you debug React Native in production?

Development: Flipper or modern React Native DevTools inspects React component hierarchies, network requests, MMKV storage, and native logs • Production: Instrument with Sentry or Bugsnag for automated crash reporting (captures native C++/Swift/Kotlin stack traces mapped with dSYMs and.

32
Senior#react-native#Advanced Internals

What is Concurrent React (React 18/19) in React Native?

Transitions (useTransition, startTransition): Marks non-urgent UI updates (e.g. search filter results) as interruptible • If the user types a new character while an expensive list is rendering, React halts rendering, handles the keystroke immediately, and restarts.

33
Senior#react-native#Advanced Internals

How does Apple Privacy Manifest (`PrivacyInfo.xcprivacy`) impact React Native apps?

Required by Apple for all App Store submissions since Spring 2024: Apps and third-party SDKs must declare what "Required Reason APIs" they access (File timestamps, System boot time, Disk space, User defaults) • Must declare tracking domains and whether data is linked to user identity.

34
Senior#System Design

What is the New Architecture Interop Layer?

During the multi-year migration to the New Architecture, many legacy third-party libraries have not yet migrated to Fabric or TurboModules: Interop Layer: An internal compatibility shim provided by React Native that allows legacy ViewManagers and Native Modules to run seamlessly.

35
Senior#react-native#Advanced Internals

When should you choose React Native over Flutter?

Choose React Native • Existing web team with deep React, JavaScript, or TypeScript expertise • Desired sharing of business logic and state stores between Web (Next.js) and Mobile • Preference for platform-native UI widgets rather than custom canvas painting.

36
Senior#TypeScript#System Design

New Architecture Deep Dive: JSI (JavaScript Interface), Fabric, and TurboModules.

The legacy React Native architecture relied on an asynchronous JSON bridge across three threads (JS, Native, Shadow), causing serialization lag during fast scrolling: JSI (JavaScript Interface): Replaces the JSON bridge with direct C++ host objects.

37
Senior#react-native#Advanced Internals

Hermes JavaScript Engine: Ahead-of-Time (AOT) bytecode compilation and low memory footprint.

Standard V8 or JavaScriptCore compiles JS text to bytecode on the user's mobile device at app launch, consuming CPU and causing launch lag: Hermes: Built by Meta specifically for mobile devices • AOT Compilation: Compiles JavaScript into optimized binary bytecode (.hbc) during the build process on your developer machine or CI server.

38
Senior#react-native#Advanced Internals

Reanimated 3 and Gesture Handler: Running 60/120fps animations on the native UI thread via worklets.

Standard React Native animations run on the JavaScript thread. If the JS thread is busy parsing JSON, animations drop frames and feel sluggish: Worklets: Tiny JavaScript functions compiled to bytecode that execute directly on the Native UI Thread • Reanimated 3 & Gesture Handler.

39
Senior#Databases & SQL

Offline-First State Synchronization: WatermelonDB vs MMKV vs SQLite with background syncing.

Mobile apps frequently operate in subways or poor cell reception: MMKV (Tencent): In-memory mapped key-value store using C++ mmap • WatermelonDB: High-performance SQLite-backed reactive database • Lazy loading: loads only visible rows into memory • Observable queries: UI automatically re-renders when local database rows mutate.

40
SeniorCode#Kubernetes

Fastlane Automation: Automating App Store and Google Play signing, metadata, and deployment.

Manually uploading IPAs and APKs through Xcode and web consoles is error-prone: Fastlane: Open-source automation toolchain driven by Ruby Fastfile.

41
Senior#react-native#Advanced Internals

Over-the-Air (OTA) Updates: Expo Updates vs CodePush and App Store compliance rules.

Pushing a hotfix through the App Store review process takes 24-48 hours. OTA Updates download new JavaScript bundles and assets directly to users' phones in seconds: How it works: On app launch, the native shell checks an update server.

42
Senior#System Design

Expo Application Services (EAS): EAS Build, EAS Submit, and Prebuild architecture.

Prebuild (npx expo prebuild): Generates transient android/ and ios/ native directories dynamically from app.json config plugins without • EAS Build: Cloud-hosted CI/CD infrastructure with dedicated macOS M-series and Linux build runners that compile native binaries with managed.

43
Senior#CLI

FlatList vs FlashList (Shopify): Recycling strategies and fixing list scroll stuttering.

FlatList: Unmounts components offscreen, creating and destroying hundreds of native view elements during fast scrolling, leading to blank white • FlashList (Shopify): Implements View Recycling • Keeps a small pool of native views alive.

44
Senior#Performance#Memory Management

Memory Leak Detection in Mobile Apps: Native retain cycles, orphaned listeners, and profiling tools.

Detecting why an app crashes after 30 minutes of usage: JavaScript Retain Cycles: Forgotten global event listeners (AppState.addEventListener, setInterval) that are never cleaned up on component unmount • Native Retain Cycles (Swift/Kotlin): Strong reference cycles between closures and ViewControllers (resolve with [weak self]).

45
Senior#System Design

Push Notifications Architecture: APNs, FCM, and background silent push handling.

APNs (iOS) & FCM (Android): Device registers with the OS and obtains an ephemeral push token sent to the backend database • Visual Notifications: Displayed in the OS notification shade with title, body, sound, and action buttons.

46
Most AskedSeniorCode#Security & Auth

Biometric Authentication & Secure Storage: Keychain and KeyStore.

Never store JWT refresh tokens or passwords in unencrypted AsyncStorage or MMKV: iOS Keychain & Android KeyStore: Hardware-encrypted security enclaves • Biometric Binding: Use react-native-keychain with biometric flags.

47
SeniorCode#Security & Auth#System Design

Native Module Authoring with Codegen specs in the New Architecture.

In the New Architecture, native modules are strictly type-safe across JavaScript and C++/Swift/Kotlin: Define the interface in TypeScript using Flow or TypeScript Spec.

48
Senior#Performance

App Startup Time Optimization (Time to Interactive - TTI).

Slashing cold launch time from 4 seconds down to sub-1 second: Enable Hermes Engine: Eliminates runtime JS parsing overhead • Inline Requires: Defer importing heavy modules until they are actually rendered (require('moment') inside the function).

49
Senior#System Design

Microfrontends in Mobile: Super Apps architecture using Re.Pack.

In massive enterprise apps (e.g. Uber, WeChat, Amazon), multiple independent teams cannot deploy inside a single monolithic Git repository: Re.Pack (Webpack / Rspack for React Native): Enables Module Federation for mobile • Super App Architecture.

50
Senior#react-native#Advanced Internals

Battery and Network Consumption Tuning: Background tasks and throttling.

Preventing your app from draining user battery in the background: iOS BGTaskScheduler & Android WorkManager: Schedule background jobs with battery-friendly constraints (e.g. execute sync strictly when connected.