Core components are the basic building blocks provided by React Native that map directly to native UI elements on iOS and Android, like <View>, <Text>, and <Image>.
Click to reveal answer
beginner
Why do core components build native UIs instead of web views?
Core components build native UIs to provide better performance, smoother animations, and a look and feel consistent with the platform, unlike web views which render HTML inside the app.
Click to reveal answer
intermediate
How does React Native translate core components to native UI elements?
React Native uses a bridge to convert JavaScript code describing core components into native platform widgets, so the app uses real native controls instead of emulated ones.
Click to reveal answer
beginner
What is the benefit of using native UI components for user experience?
Using native UI components ensures the app feels familiar and responsive to users because it uses the same controls and behaviors they expect on their device.
Click to reveal answer
beginner
Can you name some React Native core components that build native UI?
Examples include <View> for containers, <Text> for displaying text, <Image> for pictures, <ScrollView> for scrollable content, and <Button> for clickable buttons.
Click to reveal answer
What does a React Native core component like <View> map to?
AAn HTML div element
BA native container view on iOS and Android
CA web browser window
DA JavaScript object
✗ Incorrect
React Native core components like map directly to native container views on each platform, not HTML elements.
Why is using native UI components better than using web views in React Native?
ANative components use HTML and CSS
BWeb views are faster and smoother
CWeb views are the default in React Native
DNative components provide better performance and platform look
✗ Incorrect
Native components give better performance and a look consistent with the device, unlike web views which render HTML inside the app.
What role does the React Native bridge play?
AIt connects the app to the internet
BIt runs JavaScript in a web browser
CIt converts JavaScript code into native UI elements
DIt compiles JavaScript to machine code
✗ Incorrect
The bridge translates JavaScript descriptions of UI into native platform widgets.
Which of these is NOT a React Native core component?