React Native Interview Questions and Answers

React Native interviews test your React knowledge first and then how well you understand what happens between JavaScript and the native side. Since the New Architecture became the default, questions on JSI, Fabric and TurboModules have become common, so they get their own section here.

51 questions with answersLevels: Fresher to SeniorUpdated November 2026

Basics

Core questions for junior React Native developers.

Q1.What is React Native?

An open-source framework from Meta for building iOS and Android apps with React and JavaScript or TypeScript. Components render to real native views, not a WebView.

Q2.How is React Native different from React for the web?

The React model of components, props, state and hooks is the same. Instead of HTML elements you use View, Text, Image and Pressable, styling uses JavaScript objects with a subset of CSS, and layout uses Flexbox by default with column direction.

Q3.What are the core components?

View for containers, Text for all text, Image, TextInput, ScrollView, FlatList and SectionList for lists, Pressable for touch handling, Modal and ActivityIndicator.

Q4.How does styling work?

With StyleSheet.create or inline objects. Property names are camelCase, units are density-independent numbers, and there is no cascade, except that text styles pass down to nested Text components.

Q5.How does Flexbox differ from the web in React Native?

flexDirection defaults to column, alignContent defaults to flex-start, and flex accepts a single number. Every View is a flex container.

Q6.What is the difference between props and state?

Props are passed in by the parent and are read-only in the child. State is owned by the component and changes with setState or useState, causing a re-render.

Q7.What is Expo?

Expo is a framework and toolset on top of React Native with prebuilt native modules, Expo Router, EAS Build and over-the-air updates. With development builds and config plugins you can add custom native code, so most new projects start with Expo.

Q8.What is Metro?

Metro is the JavaScript bundler for React Native. It transforms and bundles your code and serves it to the app during development with fast refresh.

Q9.What is Fast Refresh?

It reloads edited components instantly while keeping their state. If you edit a non-component module or there is a syntax error, it does a full reload.

Q10.How do you handle platform-specific code?

Use the Platform.OS check or Platform.select, or create files with .ios.tsx and .android.tsx extensions, and Metro picks the right one.

Q11.How do you make an HTTP request?

With fetch or a library like axios, usually inside a data layer such as TanStack Query, which adds caching, retries and loading states.

Q12.How do you store data locally?

AsyncStorage for simple values, MMKV for very fast key-value storage, expo-secure-store or react-native-keychain for tokens, and SQLite or WatermelonDB for structured data.

Q13.What is SafeAreaView?

It keeps content out of notches, status bars and home indicators. The react-native-safe-area-context library is preferred because it works on both platforms and gives hooks for insets.

React and hooks in React Native

React questions that come up in every round.

Q14.What does useEffect do and when does it run?

It runs side effects after render. With an empty dependency array it runs once after mount, with dependencies it runs when they change, and the returned function cleans up before the next run or on unmount.

Q15.What is the difference between useMemo and useCallback?

useMemo caches a computed value, useCallback caches a function reference. Both help avoid re-renders of memoised children or expensive recalculation, but they have a cost, so use them where profiling shows a benefit.

Q16.What does React.memo do?

It skips re-rendering a component when its props are shallowly equal to the last render. It is useful for list items and heavy components.

Q17.What is useRef used for?

To hold a mutable value that does not trigger re-renders, such as a timer ID, and to get a reference to a component like a TextInput to call focus.

Q18.How would you manage global state?

Context for simple values like theme, Zustand or Redux Toolkit for client state, and TanStack Query for server state. Keep server and client state separate.

Q19.What is a custom hook?

A function starting with use that combines other hooks to reuse logic, such as useDebounce or useKeyboardHeight.

Q20.How do you handle forms?

Use controlled TextInputs or a library like React Hook Form, validate with a schema library such as Zod, manage keyboard behaviour with KeyboardAvoidingView or a keyboard controller library, and move focus with refs.

Q21.How do you navigate between screens?

React Navigation with stack, tab and drawer navigators, or Expo Router, which uses file-based routes on top of React Navigation. Both support deep linking and typed routes.

Q22.How do you pass params and handle deep links?

Pass params on navigate and read them from the route. Configure linking with URL prefixes and a path config in React Navigation, or rely on file paths in Expo Router, plus Universal Links and App Links on the native side.

Q23.How do you write tests?

Jest for unit tests, React Native Testing Library for component tests that query by text and role, and Detox or Maestro for end-to-end tests on simulators.

Q24.What is an error boundary?

A class component that catches render errors in its children and shows a fallback UI. It does not catch errors in event handlers or async code, so add global handlers and a crash reporter too.

Q25.How do you use TypeScript in React Native?

New projects are TypeScript by default. Type props and navigation params, and type API responses at the boundary so the rest of the app can trust them.

Q26.How do you animate in React Native?

The Animated API with useNativeDriver: true for transform and opacity, or Reanimated, which runs animations and gesture logic on the UI thread through worklets, combined with Gesture Handler.

Q27.What is the difference between Pressable and TouchableOpacity?

Pressable is the newer, more flexible API with press state and hit slop control. TouchableOpacity still works but Pressable is recommended for new code.

Architecture and performance

Mid-level and senior questions.

Q28.What was the old bridge architecture?

JavaScript and native code ran on separate threads and talked by sending asynchronous JSON messages over a bridge. Large or frequent messages created delays, for example during fast scrolling or animations.

Q29.What is the New Architecture?

It replaces the bridge with JSI, the Fabric renderer and TurboModules. It is the default since React Native 0.76 and enables synchronous native calls and concurrent React features.

Q30.What is JSI?

The JavaScript Interface is a C++ API that lets JavaScript hold references to native objects and call their methods directly, without serialising JSON messages.

Q31.What are Fabric and TurboModules?

Fabric is the new rendering system, with the shadow tree in C++ and support for synchronous layout and concurrent rendering. TurboModules are native modules loaded lazily and called through JSI, with types generated by Codegen.

Q32.What is Hermes?

A JavaScript engine built for React Native and the default engine. It compiles JavaScript to bytecode at build time, which improves startup time and lowers memory use.

Q33.How do you optimise a FlatList?

Give a stable keyExtractor, memoise renderItem and item components, set getItemLayout when rows have fixed height, tune initialNumToRender and windowSize, avoid anonymous functions in props and use optimised images. FlashList from Shopify recycles views and is often faster.

Q34.Why might an app feel slow even if the JS is fast?

Too many re-renders, heavy work on the JS thread during interactions, large images, synchronous storage reads at startup or animations not running on the native or UI thread.

Q35.How do you profile a React Native app?

React DevTools Profiler for renders, the Hermes profiler for JS CPU, Xcode Instruments and Android Studio profilers for native, and the Perf Monitor overlay for frame rates.

Q36.How do you write a native module?

Define a typed TypeScript spec, run Codegen, implement it in Swift or Objective-C++ and Kotlin as a TurboModule, and call it from JS. Expo Modules API is a simpler option in Swift and Kotlin.

Q37.What are over-the-air updates?

Updating the JavaScript bundle and assets without a store release, using EAS Update. Native code changes still need a new build, and updates must follow store rules, so they suit fixes and small changes.

Q38.How do you secure a React Native app?

Store tokens in secure storage, never put secrets in the JS bundle, use HTTPS and certificate pinning where needed, enable Hermes bytecode and code minification and validate everything on the server.

Q39.How do you reduce bundle and app size?

Remove unused dependencies, enable Proguard or R8 on Android, ship app bundles, compress images, and check what each library adds with a bundle analyser.

Scenario questions

Practical problems interviewers like to discuss.

Q40.A list with 2,000 items is janky. What do you do?

Profile first, then switch to FlashList or tune FlatList, memoise rows, fix item heights, paginate the data, and move images to a caching library such as expo-image.

Q41.An animation stutters when the JS thread is busy. How do you fix it?

Move it to the UI thread with Reanimated or the native driver, so it does not depend on JavaScript each frame, and defer heavy JS work with InteractionManager or after the transition.

Q42.How would you add a native SDK that has no React Native package?

Wrap it in a TurboModule or an Expo module with a small typed API, add a config plugin if using Expo so native setup is automatic, and write tests around the JS interface.

Q43.The app crashes only in release builds. What could be wrong?

Code shrinking removing classes used by reflection, missing environment variables, Hermes differences, an unhandled promise that was only a warning in dev, or a library that needs extra Proguard rules. Read native crash logs and symbolicated JS stack traces.

Q44.How do you upgrade React Native across several versions?

Use the React Native Upgrade Helper to see diffs, upgrade one or two versions at a time, update libraries to compatible versions, check New Architecture support and run the full test suite on both platforms.

Q45.How would you share code between a React Native app and a React web app?

Put business logic, API clients, types and validation in a shared package in a monorepo. For UI, React Native Web or a cross-platform UI kit can share components, but keep platform-specific screens where the UX differs.

Q46.How would you handle offline mode?

Persist server data with TanStack Query persistence or a local database, detect connectivity with NetInfo, queue mutations and replay them when online, and show clear offline indicators.

Q47.How do you decide between Expo and bare React Native?

Expo is the default recommendation now and covers most apps with development builds and config plugins. Bare React Native gives full control of native projects, which may suit apps with heavy custom native code or unusual build pipelines.

Q48.How do you handle push notifications?

Use expo-notifications or Notifee with Firebase Cloud Messaging and APNs. Register the token with your server, ask for permission at the right moment, and handle taps in foreground, background and cold start to route to the right screen.

Q49.What would you check if images look blurry or load slowly?

Image dimensions versus display size and pixel density, caching headers, CDN resizing, using a caching image component and placeholders, and whether too many images load at once.

Q50.How do you keep a large codebase maintainable?

Feature-based folders, TypeScript strict mode, a shared design system, ESLint and Prettier, clear boundaries between UI, state and data layers, and CI that runs type checks and tests on every pull request.

Q51.The app takes four seconds to start. Where do you look?

Measure time to first render, check synchronous storage reads, heavy imports at the top of the entry file, large initial navigation stacks, and too many SDKs initialised at launch. Use lazy imports and defer non-critical work.

How to prepare for the interview

  • Revise React hooks deeply; most React Native rounds start there.
  • Know whether you have used Expo or bare React Native and be able to explain why.
  • Be ready to diagnose a slow FlatList; it is the most common performance question.
  • Understand enough Swift or Kotlin to read a native module, even if you do not write much.