Skip to content
All guides

React Native interview preparation: what the rounds test and how answers are scored

By Mike Salari. Staff mobile engineer · 500+ technical interviews from the hiring side.

This page is for React Native engineers preparing for a mid-level or senior round. You get ten questions as they are asked out loud, what the interviewer writes down, what a strong answer covers, the follow-ups that change the conditions, and the weak answers that end the conversation early. Three come with short TypeScript snippets checked against the current docs.

Who this is for

React Native engineers with production apps behind them, and web React engineers moving to mobile. If you can build a screen with hooks and call an API, this page is about the next step: state that has one owner, effects that clean up, and code that survives the operating system killing your app.

From the other side of the table, the strong candidates I see do more than recall APIs. They state assumptions, name trade-offs and failure modes, and say what evidence would change their decision. Every question below is built to give you room to do that.

The answer shape that scores

The Top 300 React Native Interview Questions book uses one shape for every answer. Use it in the room:

  1. Direct answer in one or two sentences, before any setup.
  2. Production depth: what changes in a real app, what you would measure.
  3. The pitfall: where this breaks. Interviewers listen for it.
  4. What is being tested, when it fits naturally.

Do not start with "it depends" and stay there. Name the dependency, then still commit to a default.

The questions

1. "You bumped the Android target to API 35. The chat input now sits under the keyboard and the navigation bar. Why?"

What is scored: connecting a visual bug to a platform rule and a framework version.

A strong answer covers:

  • Context: apps targeting Android 15 are edge-to-edge by default on Android 15 devices. The app now draws behind the system bars, and any screen that assumed the OS would pad it is wrong.
  • Decision: handle insets on purpose. Read safe-area insets for the bars, and check how the keyboard is avoided on this screen.
  • Version matters: React Native 0.86 shipped fixes for Android 15 edge-to-edge, including KeyboardAvoidingView and measureInWindow returning correct coordinates. On an older version, some of what you see is a framework bug, and the fix may be an upgrade.
  • Alternative: an opt-out flag. On Android 16 devices, apps targeting Android 16 can no longer opt out, so it only delays the work.
  • Evidence: the screen checked on an Android 15 and an Android 16 device with gesture and three-button navigation, keyboard open and closed.

Follow-ups:

  • It works on Android and the same screen is wrong on iOS. What do you compare first?
  • A popover positions itself with measureInWindow and is off by the status bar height. Where is the bug?

Weak answer: "I add bottom padding of 48." It fits one device and one navigation mode, and breaks on the rest.

2. "This interval should count up every second, but it stays at 1. Why?"

What is scored: closures over render values.

TypeScript
useEffect(() => {
  const id = setInterval(() => {
    setCount(c => c + 1); // was: setCount(count + 1)
  }, 1000);
  return () => clearInterval(id);
}, []);

A strong answer covers:

  • A function created during a render captures that render's props and state. With an empty dependency list, the interval keeps the first count forever.
  • Fix the ownership: a functional update reads the latest state, so the effect does not need count as a dependency.
  • Adding count to the dependencies also works, but it tears down and recreates the interval on every tick.
  • Ask what the code is for: syncing with an outside system belongs in an effect, a reaction to a tap belongs in the handler, and a derived value belongs in render.

Follow-ups:

  • The callback must read a prop that changes, without resetting the timer. What now?
  • The app goes to the background. Should the interval keep running?

Weak answer: "I disable the exhaustive-deps lint." It silences the warning and keeps the bug.

3. "When do you use useLayoutEffect instead of useEffect in React Native?"

What is scored: timing, and knowing the exception from the default.

A strong answer covers:

  • useEffect runs after the commit. useLayoutEffect runs before the user sees the update and blocks it until done.
  • Since the New Architecture, React Native supports reading layout synchronously in useLayoutEffect, so you can measure and position a tooltip in the same frame.
  • Default to useEffect for network calls, subscriptions and most native calls.
  • Failure mode: useLayoutEffect everywhere adds blocking work before every commit.

Follow-ups:

  • The tooltip flickers on the first frame. Which hook, and what do you measure?
  • What happens if the code inside useLayoutEffect is slow?

Weak answer: "useLayoutEffect is the more correct one." It treats an exception as the rule and adds cost with no benefit.

4. "Why pass an ID in navigation params instead of the whole object?"

What is scored: one owner for each piece of data.

A strong answer covers:

  • Params describe navigation state: an ID, a filter, a small option. The destination reads the current object from its real source.
  • A full object is a second snapshot. It goes stale when another screen edits the entity, and it may not serialise cleanly for deep links or restored state.
  • Type the route contract, and validate params that arrive from outside links.
  • Make "item not found" an explicit state of the destination screen.
TypeScript
import type {NativeStackScreenProps} from '@react-navigation/native-stack';

type RootStackParamList = {
  OrderList: undefined;
  OrderDetail: { orderId: string };
};

type Props = NativeStackScreenProps<RootStackParamList, 'OrderDetail'>;

Follow-ups:

  • The detail screen opens from a push notification for an order that was deleted. What does the user see?
  • Loading by ID adds a spinner. How do you avoid it for a list the user just saw?

Weak answer: "Passing the object saves a network call." It saves one call and creates two copies of the truth.

5. "The OS killed the app while it was in the background. What does the user get back?"

What is scored: cold-start recovery, which is different from resuming.

A strong answer covers:

  • Assume the OS can end a backgrounded process without giving JavaScript a final callback.
  • Persist the minimum needed to rebuild the workflow: a draft ID, committed form fields, navigation intent, a sync checkpoint.
  • Write important changes as they happen, not on a background event.
  • On cold start, load that state, check it against the current user and schema version, then refetch server data.
  • Expire old or sensitive drafts on purpose.

Follow-ups:

  • The user logs in as someone else after restart. What happens to the saved draft?
  • You change the draft format in the next release. How does an old draft load?

Weak answer: "I save state in the AppState change handler." It relies on a callback the OS does not have to deliver.

6. "Write the spec for a Turbo Native Module that reads a value from secure storage."

What is scored: the contract between JavaScript and native, and what Codegen gives you.

A strong answer covers:

  • A typed spec in TypeScript or Flow, in a file named with the Native prefix. Codegen generates the native interfaces from it.
  • Android implements it in Kotlin or Java, iOS in Objective-C++.
  • The spec is the contract. Both platforms implement the same one, so drift shows up at build time.
  • Design a coarse API around what the app needs, not hundreds of tiny calls.
  • Decide what each method returns when the platform cannot do it.
TypeScript
// specs/NativeSecureStore.ts
import type {TurboModule} from 'react-native';
import {TurboModuleRegistry} from 'react-native';

export interface Spec extends TurboModule {
  getItem(key: string): Promise<string | null>;
  setItem(key: string, value: string): Promise<void>;
}

export default TurboModuleRegistry.getEnforcing<Spec>('NativeSecureStore');

Follow-ups:

  • Why are these methods async here, when the spec could make them synchronous?
  • getEnforcing throws if the module is missing. When would you use get instead?

Weak answer: "I find a library on npm." Fine until it breaks and nobody on the team can read its native code.

7. "Where does the auth token live, and can the third-party API key ship in the app?"

What is scored: knowing what the bundle exposes and what the platform protects.

A strong answer covers:

  • The React Native security docs are direct: never store sensitive API keys in app code, because anyone inspecting the bundle can read them. Tools that inject build-time variables do not make them secret.
  • A key that must stay secret lives on a server you control, which adds it when forwarding the request.
  • Async Storage is unencrypted. It is fine for non-sensitive state and wrong for tokens.
  • Tokens go to the platform stores: Keychain on iOS, Android Keystore on Android, through a native module or a maintained library you have read.
  • Failure mode: shipping a "secret" behind obfuscation and treating it as protected.

Follow-ups:

  • The vendor only offers a client key. What limits do you ask them to put on it?
  • The user restores the app on a new phone. Should the token come with them?

Weak answer: "We keep it in a .env file, so it is not in the code." It is in the bundle the moment the build reads it.

8. "A product manager says this screen must be rewritten natively. How do you decide?"

What is scored: asking for measured evidence before an expensive rewrite.

A strong answer covers:

  • Signals for native: a measured performance ceiling after real optimisation, deep and constant platform API use, or interaction patterns where shared code keeps fighting the platform.
  • First profile in a release build and apply the known fixes. "Feels slow" is not evidence.
  • Cost: every native screen needs people who can maintain it on two platforms.
  • Present the options with numbers: optimise, go native for this screen only, or leave it.

Follow-ups:

  • The profile shows the JavaScript thread is fine. What does that point to?
  • You go native for one screen. How does it share navigation and state with the rest?

Weak answer: "React Native is slow, so yes." It skips the measurement and may buy an expensive rewrite nobody needed.

9. "How do you test across JavaScript and native code?"

What is scored: a test plan that matches the boundaries.

A strong answer covers:

  • Unit tests for logic and custom hooks in JavaScript.
  • Component tests with native modules mocked at the spec boundary.
  • A small set of end-to-end tests on real devices for flows that cross into native code.
  • Release builds in the test path. The React Native docs say JavaScript performance is much worse in dev mode.

Follow-ups:

  • What do your mocks hide that a device test would catch?
  • What runs on every pull request, and what runs nightly?

Weak answer: "Jest covers it." Jest does not run your Kotlin or Objective-C++.

10. "You are five versions behind. How do you upgrade React Native?"

What is scored: planning, rollback and release ownership.

A strong answer covers:

  • Read the release notes for every version you skip. The big steps: 0.82 made the New Architecture the only one, and 0.84 made Hermes V1 the default and removed legacy architecture code from iOS builds by default.
  • Check each native dependency in a current build on real devices: native views, events, threading and background paths. A clean compile is the start, not the proof.
  • Upgrade on a branch, run CI and device tests, ship with a staged rollout on both stores.
  • Rollback means shipping the previous build again. Plan for store review time.

Follow-ups:

  • One jump or several smaller ones? Why?
  • How do you prove the upgrade did not make startup slower?

Weak answer: "Set newArchEnabled=false until we are ready." From 0.82 that flag is ignored.

What changed in 2024 to 2026

  • 0.76 (23 October 2024) turned on the New Architecture by default, with an interop layer for older libraries and synchronous layout reads in useLayoutEffect. (The New Architecture is here)
  • 0.82 (8 October 2025) runs only on the New Architecture. newArchEnabled=false and RCT_NEW_ARCH_ENABLED=0 are ignored. Hermes V1 became an experimental opt-in. (React Native 0.82)
  • 0.84 (11 February 2026) made Hermes V1 the default engine on iOS and Android, and legacy architecture code is no longer included in iOS builds. (React Native 0.84)
  • 0.86 (11 June 2026) shipped fixes for Android 15 and later edge-to-edge mode, including KeyboardAvoidingView and measureInWindow, and moved the repository to the react GitHub organisation. (React Native 0.86)
  • 0.88 (19 October 2026) is the latest release at the time of writing. (React Native blog)

Before you claim any of this, say which version your project ships. Interviewers check.

How the rounds run

Formats vary by company and level. I have not found an official page from a large company that publishes a fixed React Native loop, so treat any loop you read about online as one person's report. Some loops test general JavaScript and React; some focus on mobile and native work.

Ask the recruiter what each round scores, and whether you will write code live, review code, or design a feature. For questions on JSI, Hermes, list performance and over-the-air updates, read React Native interviews happen at the boundary. If you also interview for Flutter roles, see Flutter interview preparation. For the design round, see mobile app architecture interview questions.

Sources

These ten questions are a sample. The book has 300, junior to expert, each with a model answer, production depth, the common pitfall and what the interviewer is testing, plus a night-before review routine.