React Native & Expo (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What is React Native and how does it render real native mobile UI?
junior LevelCode Examplereact-nativeBasic
In Simple Words: React Native is a cross-platform mobile development framework that lets you write mobile apps using JavaScript/TypeScript and React:
- Not a WebView: Unlike Cordova or Ionic, React Native does not render HTML in a web browser view!
- Instead, your React components (
<View>,<Text>,<Image>) map directly to real platform-native UI elements:<View>on iOS compiles toUIView; on Android it compiles toandroid.view.ViewGroup.
- Delivers the native look, feel, performance, and accessibility of native mobile apps.
text
React Native Component Mapping:
[React Native Code] [iOS Platform] [Android Platform]
<View> ──► UIView android.view.ViewGroup
<Text> ──► UILabel / UITextView android.widget.TextView
<Image> ──► UIImageView android.widget.ImageView
<ScrollView> ──► UIScrollView android.widget.ScrollView