Recall & Review
beginner
What does React Native use to create mobile apps for both iOS and Android?
React Native uses JavaScript and React to build apps that run on both iOS and Android platforms from a single codebase.
Click to reveal answer
beginner
How does React Native handle UI components across different platforms?
React Native provides a set of core components that map to native UI elements on each platform, so the app looks and feels native on both iOS and Android.
Click to reveal answer
intermediate
What role does the 'bridge' play in React Native?
The bridge connects JavaScript code with native platform code, allowing React Native to communicate with native APIs and components efficiently.
Click to reveal answer
beginner
Why is code reuse important in React Native for cross-platform development?
Code reuse means developers write one set of code that works on both iOS and Android, saving time and effort compared to building separate apps.
Click to reveal answer
intermediate
What advantage does React Native have over traditional native app development?
React Native allows faster development and easier maintenance by using a single codebase for multiple platforms, unlike traditional native apps that require separate codebases.
Click to reveal answer
Which language is primarily used to write React Native apps?
✗ Incorrect
React Native apps are mainly written in JavaScript, which allows cross-platform development.
What does React Native use to connect JavaScript with native platform features?
✗ Incorrect
The bridge enables communication between JavaScript and native code in React Native.
How does React Native ensure apps look native on iOS and Android?
✗ Incorrect
React Native uses core components that map to native UI elements on each platform.
What is a key benefit of React Native's single codebase?
✗ Incorrect
A single codebase allows developers to build apps faster for both iOS and Android.
Which of these is NOT true about React Native?
✗ Incorrect
React Native does NOT require separate apps; it uses one codebase for both platforms.
Explain how React Native enables building apps for both iOS and Android using one codebase.
Think about how React Native connects JavaScript with native features and shares code.
You got /4 concepts.
Describe the role of the 'bridge' in React Native and why it is important for cross-platform apps.
Consider how JavaScript talks to the phone's native parts.
You got /3 concepts.