LearnThatStack Ace your next interview
Mobile Development
React Native.
51 Qs 7 free
Change topic Change
Drill · questions

All questions

of 51
Beginner 10
01

What are the advantages and disadvantages of React Native?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Advantages:

  • Code reusability across iOS and Android (typically 70-90%)
  • Faster development cycle compared to native development
  • Hot reloading for quick iterations
  • Large community and ecosystem
  • Backed by Facebook with active maintenance
  • Access to native APIs through bridge or native modules

Disadvantages:

  • Performance overhead due to bridge communication
  • Limited access to latest native features immediately
  • Debugging can be complex across different layers
  • Bundle size can be larger than pure native apps
  • Dependency on third-party libraries for some native functionality
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

02

What are the core components in React Native?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Core components are the essential building blocks provided by React Native:

  • View: Container component similar to div in HTML
  • Text: For displaying text content
  • Image: For displaying images
  • ScrollView: Scrollable container
  • TextInput: For user text input
  • TouchableOpacity/TouchableHighlight: For handling touch events
  • FlatList/SectionList: For rendering lists efficiently
  • Switch: Toggle switch component
  • ActivityIndicator: Loading spinner
import { View, Text, Image, TouchableOpacity } from 'react-native';

const MyComponent = () => (
  <View>
    <Text>Hello World</Text>
    <TouchableOpacity onPress={() => console.log('Pressed')}>
      <Text>Press me</Text>
    </TouchableOpacity>
  </View>
);
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

03

What is the difference between View and SafeAreaView?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain
  • View: Basic container component that doesn't account for device-specific safe areas
  • SafeAreaView: Automatically adjusts content to avoid system UI elements like status bars, notches, and home indicators
// Without SafeAreaView - content might be hidden behind status bar
<View style={{flex: 1}}>
  <Text>This might be hidden</Text>
</View>

// With SafeAreaView - content stays within safe boundaries
<SafeAreaView style={{flex: 1}}>
  <Text>This is always visible</Text>
</SafeAreaView>
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

04

Explain props vs state in React Native.

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Props (Properties):

  • Data passed from parent to child components
  • Immutable within the receiving component
  • Used for component configuration and data flow

State:

  • Internal component data that can change over time
  • Mutable using useState or setState
  • Triggers re-renders when updated
// Props example
const ChildComponent = ({title, onPress}) => (
  <TouchableOpacity onPress={onPress}>
    <Text>{title}</Text>
  </TouchableOpacity>
);

// State example
const ParentComponent = () => {
  const [count, setCount] = useState(0);
  
  return (
    <ChildComponent 
      title={`Count: ${count}`}
      onPress={() => setCount(count + 1)}
    />
  );
};
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

05

What is React Navigation and why is it used?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

React Navigation is the most popular navigation library for React Native. It provides:

  • Stack Navigation: Screen transitions with a stack-like structure
  • Tab Navigation: Bottom or top tab bars
  • Drawer Navigation: Side menu navigation
  • Native Performance: Smooth animations and gestures
  • Customization: Extensive theming and configuration options
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';

const Stack = createStackNavigator();

const App = () => (
  <NavigationContainer>
    <Stack.Navigator>
      <Stack.Screen name="Home" component={HomeScreen} />
      <Stack.Screen name="Profile" component={ProfileScreen} />
    </Stack.Navigator>
  </NavigationContainer>
);
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

06

How do you pass parameters between screens in React Navigation?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Use the navigate function with parameters and access them via the route prop:

// Passing parameters
const HomeScreen = ({navigation}) => {
  const navigateToProfile = () => {
    navigation.navigate('Profile', {
      userId: 123,
      userName: 'John Doe'
    });
  };

  return (
    <TouchableOpacity onPress={navigateToProfile}>
      <Text>Go to Profile</Text>
    </TouchableOpacity>
  );
};

// Receiving parameters
const ProfileScreen = ({route}) => {
  const {userId, userName} = route.params;
  
  return (
    <View>
      <Text>User ID: {userId}</Text>
      <Text>Name: {userName}</Text>
    </View>
  );
};
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

07

How does styling work in React Native?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

React Native uses a subset of CSS properties implemented through JavaScript objects:

import { StyleSheet, View, Text } from 'react-native';

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: '#f0f0f0',
    justifyContent: 'center',
    alignItems: 'center',
  },
  text: {
    fontSize: 16,
    fontWeight: 'bold',
    color: '#333',
  }
});

const MyComponent = () => (
  <View style={styles.container}>
    <Text style={styles.text}>Hello World</Text>
  </View>
);
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

08

What are the differences between absolute and relative positioning?

Part of Pro
09

How do you make API calls in React Native?

Part of Pro
10

What is the difference between React Native CLI and Expo CLI?

Part of Pro
Intermediate 29
11

Explain the architecture of React Native.

Part of Pro
12

What is Metro bundler in React Native?

Part of Pro
13

Explain the difference between FlatList and ScrollView.

Part of Pro
14

What are Touchable components and when to use each?

Part of Pro
15

What are React Native lifecycle methods?

Part of Pro
16

How do you handle component state updates asynchronously?

Part of Pro
17

What are the different types of navigators in React Navigation?

Part of Pro
18

What is Flexbox in React Native and how does it differ from CSS Flexbox?

Part of Pro
19

How do you handle responsive design in React Native?

Part of Pro
20

How do you write platform-specific code in React Native?

Part of Pro
21

What are the differences between iOS and Android in React Native development?

Part of Pro
22

How do you optimize images in React Native?

Part of Pro
23

What is the difference between useMemo and useCallback?

Part of Pro
24

What debugging tools are available for React Native?

Part of Pro
25

How do you test React Native applications?

Part of Pro
26

How do you handle errors in React Native?

Part of Pro
27

How do you manage global state in React Native?

Part of Pro
28

When would you use Redux vs Context API?

Part of Pro
29

How do you handle asynchronous actions in Redux?

Part of Pro
30

What are the storage options available in React Native?

Part of Pro
31

How do you handle offline functionality in React Native?

Part of Pro
32

What are React Native animations and how do you implement them?

Part of Pro
33

How do you handle deep linking in React Native?

Part of Pro
34

How do you implement push notifications in React Native?

Part of Pro
35

What is Code Push and how does it work?

Part of Pro
36

What are Hermes and JSC engines in React Native?

Part of Pro
37

How do you implement internationalization (i18n) in React Native?

Part of Pro
38

What are the best practices for React Native development?

Part of Pro
39

How do you handle different screen sizes and orientations?

Part of Pro
Expert 12
40

What are common performance issues in React Native and how to solve them?

Part of Pro
41

Explain React Native's threading model.

Part of Pro
42

What are Native Modules in React Native?

Part of Pro
43

How does the React Native bridge work?

Part of Pro
44

What is the difference between TurboModules and the traditional bridge?

Part of Pro
45

What is react-native-reanimated and when to use it?

Part of Pro
46

What are the security considerations in React Native development?

Part of Pro
47

How do you optimize bundle size in React Native?

Part of Pro
48

What is the New Architecture (Fabric + TurboModules) in React Native?

Part of Pro
49

How do you handle memory management in React Native?

Part of Pro
50

What are the common React Native deployment considerations?

Part of Pro
51

How do you integrate React Native with existing native apps?

Part of Pro

No matches

Try a different filter or search term.

Pro · $10/mo

44 of 51 React Native answers are gated.

Full answers, code samples, AI explanations - simpler, deeper, or as an interactive diagram. Cancel anytime.

  • Full answers + code
  • AI explain - simpler, deeper, or visualized
  • 1,000 AI credits / month
  • Cancel anytime

Change topic

Pick a different technology or stack. Your current topic stays put until you choose a new one.

Technologies
No technologies match “”.
Cross-cutting topics
No topics match “”.
By role
Stacks & frameworks

MEAN

MongoDB, Express, Angular, Node.js

MERN

MongoDB, Express, React, Node.js

LAMP

Linux, Apache, MySQL, PHP

Django

Python Full-Stack Development

Ruby on Rails

Convention over Configuration

JAM

JavaScript, APIs, and Markup

Serverless on AWS

Serverless Architecture on AWS

Cross-cutting topics 43 topics

Interviewers also test these - they're common to every stack, whichever one you picked above.

Flutter Mobile

Flutter Cross-Platform Mobile Development

Cross-cutting topics 44 topics

Interviewers also test these - they're common to every stack, whichever one you picked above.

Spring Boot

Enterprise Java Development

.NET

Microsoft Ecosystem

Vue

Vue.js, Vite, TypeScript, Tailwind, Node.js

Go Backend

Golang, gRPC, PostgreSQL, Redis, RabbitMQ

FastAPI

Python, FastAPI, SQLAlchemy, PostgreSQL

React Native

React, TypeScript, Redux, Firebase

iOS Native

Swift, SwiftUI, UIKit, Firebase

Android Native

Java, Jetpack Compose, Firebase

Web3 / Ethereum

Solidity, Ethereum, Hardhat, Foundry

DevOps / Platform

Docker, Kubernetes, Terraform, CI/CD

Core SWE Interview Prep

Data structures, algorithms, OS, concurrency, networking, git
Big-O & Complexity Analysis Arrays, Strings & Hash Tables Linked Lists, Stacks & Queues Trees, BSTs & Heaps Graphs Sorting, Searching & Recursion Operating Systems Concurrency & Multithreading Networking for Developers Git & Version Control API Design 45 Distributed Systems Fundamentals 34

Cross-cutting topics 43 topics

Interviewers also test these - they're common to every stack, whichever one you picked above.


Cross-cutting topics 45 topics

Interviewers also test these - they're common to every stack, whichever one you picked above.