React Native Interview Questions and Answers
Last updated 2026-11-19
React Native interviews mix React knowledge with mobile specifics: how JavaScript talks to native code, why lists are slow, how to animate at 60 frames per second and where to store a token safely. Recent versions made the New Architecture the default, replacing the asynchronous bridge with JSI, Fabric and TurboModules, so older answers about the bridge are now incomplete.
This page assumes a modern project, usually created with Expo. React fundamentals are in the React interview questions and React Hooks pages, and cross-platform alternatives are on the Flutter page. For process, see how to crack a React interview.
| Version focus | React Native with the New Architecture and Hermes, Expo SDK |
|---|---|
| Core topics | Architecture, lists, navigation, animation, native modules, storage, performance |
| Questions here | 17 |
Old bridge versus the New Architecture
The old architecture serialised messages to JSON and sent them asynchronously over a bridge between the JavaScript thread and the native side, which caused delays and made synchronous native calls impossible. The New Architecture, default since React Native 0.76, uses JSI, a C++ layer letting JavaScript hold direct references to native objects, with Fabric for rendering and TurboModules for native modules, loaded lazily.
Topics that distinguish strong candidates
- Knowing which thread each piece of work runs on: JavaScript, UI and native module threads.
- Using FlatList correctly, with stable keys and memoised rows.
- Running animations on the UI thread through Reanimated instead of the JavaScript thread.
- Storing secrets in the Keychain or Keystore and not in AsyncStorage.
- Testing on a low-end Android device in a release build.
React Native Interview Questions and Answers: questions with worked answers
1 How is React Native different from a web view or a hybrid app?
easyReact Native runs your JavaScript in an engine, usually Hermes, and renders real native views such as UIView on iOS and android.view.View on Android, not HTML in a web view. Components such as View and Text map to native widgets, so scrolling and controls feel native. Styling uses JavaScript objects with a flexbox subset, not CSS.
2 What is Hermes?
easyHermes is the JavaScript engine optimised for React Native, and it is the default. It precompiles JavaScript to bytecode at build time, so apps start faster and use less memory than with a JIT engine on a phone. It supports most modern syntax and has a sampling profiler. It does not have a JIT, so very heavy computation is slower than in V8, and you move it to native code if needed.
3 Explain the New Architecture: JSI, Fabric and TurboModules.
mediumJSI lets JavaScript call native C++ functions directly and synchronously, without JSON serialisation over a bridge. Fabric is the new renderer, sharing the shadow tree in C++ and enabling synchronous layout reads and concurrent React features. TurboModules load native modules lazily, with typed interfaces generated by Codegen from a TypeScript spec. Together they cut startup cost and bridge latency.
4 ScrollView or FlatList?
mediumScrollView renders all children at once, so it is only suitable for short, fixed content. FlatList virtualises: it mounts items near the viewport and recycles the rest, so memory stays flat for long lists. Give it a keyExtractor with stable ids, memoise renderItem and row components, set getItemLayout for fixed heights and avoid inline arrow functions that change identity. FlashList from Shopify is a common faster alternative.
javascript<FlatList data={items} keyExtractor={(item) => item.id} renderItem={({ item }) => <Row item={item} />} initialNumToRender={10} windowSize={7} />5 How does layout work in React Native?
mediumIt uses Yoga, a flexbox implementation. Differences from the web: flexDirection defaults to column, every View is display flex, sizes are unitless density-independent pixels, and there is no cascade, so styles do not inherit except within Text. Use StyleSheet.create for organisation, percentages sparingly and the useWindowDimensions hook for responsive sizes.
6 How do you navigate between screens?
mediumReact Navigation, or Expo Router built on top of it, provides stack, tab and drawer navigators. Expo Router uses file-based routes similar to Next.js, with deep linking set up from the file structure. Pass params through the route, avoid passing large objects, and type routes with TypeScript. Keep global state outside the navigator, and handle the Android hardware back button.
7 How do you store data, and what is safe for secrets?
mediumAsyncStorage is an unencrypted key-value store for non-sensitive data. MMKV is a much faster key-value option. For tokens and secrets use expo-secure-store or react-native-keychain, which use the iOS Keychain and Android Keystore. For structured data use SQLite or WatermelonDB. Do not embed API secrets in the app bundle, since the JavaScript can be extracted.
8 How do you handle platform differences?
mediumUse Platform.OS or Platform.select for small differences, and file extensions such as Button.ios.tsx and Button.android.tsx when components diverge widely. Account for safe areas with react-native-safe-area-context, keyboard behaviour with KeyboardAvoidingView, and permissions and status bar handling per platform. Test both, because a layout that works on iOS can overflow on Android.
javascriptconst shadow = Platform.select({ ios: { shadowColor: '#000', shadowOpacity: 0.2, shadowRadius: 6 }, android: { elevation: 4 }, });9 How do you make animations smooth?
mediumThe default Animated API can run on the native driver, but only for non-layout properties like transform and opacity, and is limited. Reanimated runs animation logic as worklets on the UI thread, so animations stay smooth even when the JavaScript thread is busy. Pair it with Gesture Handler so gestures also run on the UI thread. Animate transform and opacity, not width or height.
javascriptconst offset = useSharedValue(0); const style = useAnimatedStyle(() => ({ transform: [{ translateX: offset.value }] })); // on press: offset.value = withSpring(100);10 What causes slow renders and how do you fix them?
mediumCommon causes are re-rendering large trees on every state change, expensive work in render, unstable props such as inline objects defeating memo, large images, and heavy JSON handling on the JavaScript thread. Fix by lifting state down, React.memo with stable callbacks, resized images with caching through expo-image, moving work off the JS thread and profiling with React DevTools and the Hermes profiler in a release build. The React Compiler can help with memoisation.
11 What is the difference between Expo and bare React Native?
mediumExpo is a framework and toolchain on top of React Native, offering a managed SDK, file-based routing, EAS Build and Update, and config plugins so you can add native modules without editing native projects by hand. Bare React Native gives full control over android and ios folders. The React Native team now recommends starting with a framework such as Expo, and you can still write custom native code through development builds.
12 How do you write a native module for the New Architecture?
hardDefine a typed spec in TypeScript, run Codegen to generate native interfaces, and implement them in Kotlin or Swift, or in C++ for cross-platform code. The module is exposed as a TurboModule, so JavaScript can call it directly, including synchronously when needed, and it loads on first use. For Expo projects the Expo Modules API offers a simpler Swift and Kotlin API.
13 How do over-the-air updates work, and what are the limits?
hardThe app loads its JavaScript bundle and assets from the device, and an update service such as EAS Update downloads a newer bundle and uses it on the next launch. It lets you ship JavaScript and asset fixes without a store release. It cannot change native code, so any change to native modules or SDK version needs a new binary, and store policies require the update not to change the app's main purpose. Use runtime versions to match bundles with compatible binaries.
14 How do you debug a crash that only happens in release builds?
hardReproduce on a release or profile build, then read the native crash logs with Xcode Organizer or adb logcat, and the JavaScript stack with Sentry or similar, uploading source maps so Hermes bytecode traces are symbolicated. Typical culprits are missing ProGuard or R8 rules, a native module that was not linked, environment variables absent in the build, and code that relied on dev-only behaviour.
15 How do you structure a large React Native app?
hardOrganise by feature with screens, components, hooks and services together, use TypeScript throughout, and separate server state with TanStack Query from client state with Zustand or Redux Toolkit. Isolate native and platform access behind small modules so they can be mocked. Add error boundaries, crash reporting, analytics and a CI pipeline that builds both platforms and runs Jest and Detox or Maestro tests.
16 How do you test a React Native app?
hardUse Jest with React Native Testing Library to render components and query by role, text or test ID, mocking native modules at the boundary. Test hooks and logic as plain functions. For end-to-end flows use Detox or Maestro on emulators or real devices. Keep a few critical-path E2E tests and many cheap component tests, and run them on CI for both platforms.
javascriptimport { render, screen, fireEvent } from '@testing-library/react-native'; test('increments', () => { render(<Counter />); fireEvent.press(screen.getByRole('button')); expect(screen.getByText('Count: 1')).toBeTruthy(); });
Frequently asked questions
Is the old bridge still asked about?
Yes, as background. Be able to explain why it was a bottleneck and how JSI, Fabric and TurboModules address it.
Should I use Expo or bare React Native?
For most new apps, Expo, which now covers native modules through config plugins and development builds. Know when a bare workflow is needed.
Do React Native roles need native iOS or Android knowledge?
Basic familiarity helps, especially for debugging builds and writing small native modules, but day-to-day work is mostly JavaScript or TypeScript.
What is the best way to practise?
Build and ship one app with navigation, a list with pagination, secure storage and a gesture-driven animation, and test it on a low-end Android phone.
Related guides
More in Role-wise Interview Questions by Job and Tech Stack
- Redux Interview Questions and Answers (Redux Toolkit)
- SDET Interview Questions and Answers
- Selenium Interview Questions and Answers
- Site Reliability Engineer (SRE) Interview Questions and Answers
- SOC Analyst Interview Questions and Answers
- Software Engineer Fresher Interview Questions and Answers
- Spring Boot Interview Questions and Answers (Spring Boot 3)
- Statistics for Data Science Interview Questions and Answers
- Tableau Interview Questions and Answers
- Terraform Interview Questions and Answers
- Web Performance Interview Questions and Answers
- Web Security and OWASP Interview Questions and Answers