React Native Interview Questions and Answers (100 Q&A)
SECTION 1: React Native Basics (Q1Q15)
1. What is React Native?
A framework to build native mobile apps using JavaScript and React.
2. Difference between React and React Native?
React: Web.
React Native: Mobile (iOS + Android) with native components.
3. What language is used in React Native?
JavaScript (with JSX), optionally TypeScript.
4. What is JSX?
JavaScript + XML syntax used to describe UI in React.
5. How does React Native differ from other mobile frameworks?
Uses native components instead of WebView; performs better.
6. How does React Native work internally?
JS code runs in a JS thread; communicates with native code via the Bridge.
7. Is React Native cross-platform?
Yes, write once and run on both Android and iOS.
8. What are core components in React Native?
View, Text, Image, ScrollView, TextInput, TouchableOpacity, etc.
9. How to start a new React Native project?
npx react-native init ProjectName
10. What is Expo?
A framework and platform for universal React apps. Easier to start, with managed workflow.
React Native Interview Questions and Answers (100 Q&A)
11. Can we use HTML tags in React Native?
No. React Native uses native components (like View, Text).
12. What are props in React Native?
Props are read-only inputs passed to components.
13. What is state in React Native?
A built-in object to store component data that can change over time.
14. Difference between state and props?
Props are external and immutable.
State is internal and mutable.
15. How do you style components in React Native?
Using StyleSheet.create({ ... }) or inline styles.