Top 250+ Most Asked React Native Interview Questions

Comprehensive guide covering React Native fundamentals, Architecture, Styling, and Component Communication. Each answer is technically rigorous for professional interviews.

0%

Overall Progress

0/250

1.What is React Native?

2.How does React Native differ from React?

3.What are the key features of React Native?

4.What is JSX?

5.Explain the concept of components in React Native

6.What is the difference between functional and class components?

7.How do you create a new React Native project?

8.What is the purpose of the AppRegistry?

9.What are React Native's core components?

10.Explain the use of the View component

11.What is the purpose of the Text component?

12.What is the purpose of the TouchableOpacity component?

13.What is the purpose of the SafeAreaView component?

14.How do you use images in React Native?

15.Are all React components usable in React Native?

16.What are the differences between React Native CLI and Expo?

17.What are the advantages of React Native?

18.What are the limitations of React Native?

19.How is the entire React Native code processed to show final output on a mobile screen?

20.What is the React Native bridge?

21.How does React Native communicate with native modules?

22.What are native modules?

23.Describe the role of props in React Native

24.What are state and lifecycle methods?

25.What is the difference between props and state?

26.Explain the concept of 'props drilling'

27.How can you avoid props drilling?

28.Explain the concept of 'lifting state up'

29.What is the significance of the key prop?

30.What is the difference between controlled and uncontrolled components?

31.How do you handle user input in React Native?

32.What is the difference between a modal and a popup in React Native?

33.What are render props?

34.How do you style components in React Native?

35.What are StyleSheet objects?

36.What is Flexbox, and how is it used in React Native?

37.How does React Native handle different screen sizes?

38.What is the difference between width/height in pixels vs percentages?

39.How do you implement theming in a React Native app?

40.What are hooks in React Native?

41.How do you use the useState hook?

42.What is the useEffect hook used for?

43.What is the difference between componentDidMount and useEffect?

44.Explain the importance of useCallback and useMemo

45.What is the role of useReducer in state management?

46.What is useContext hook?

47.What is useRef hook?

48.What is the dependency array in useEffect?

49.How do you cleanup in useEffect?

50.What is the purpose of the FlatList component?

51.What's the difference between ScrollView and FlatList?

52.When should you use SectionList over FlatList?

53.What is the role of the getItemLayout prop in FlatList?

54.How can you optimize images in a React Native list?

55.What is the InteractionManager and how is it used?

56.How do you implement navigation in React Native?

57.What is the difference between Stack and Tab Navigator?

58.How do you pass parameters to a new screen in React Navigation?

59.What are the common performance bottlenecks in React Navigation?

60.What is the role of Redux in React Native?

61.When should you use Context API instead of Redux?

62.What is Redux Thunk or Saga used for?

63.What is Zustand and why is it popular?

64.What is the purpose of React Query (TanStack Query)?

65.How do you handle memory leaks in a React Native app?

66.What are the rules of hooks?

67.Explain the use of the useReducer hook

68.What is the useImperativeHandle hook?

69.How do you implement a custom hook?

70.What is the purpose of React.memo?

71.What is the difference between useMemo and useCallback?

72.What is the purpose of the key prop in lists?

73.How do you handle gestures in React Native?

74.What is the role of the Animated library?

75.What is the Hermes engine?

76.What is the role of AsyncStorage?

77.What is MMKV storage and why is it faster than AsyncStorage?

78.What is the difference between SQLite and Realm in React Native?

79.How do you implement offline storage in React Native?

80.How do you perform API calls in React Native?

81.What is the Fetch API vs Axios?

82.How do you handle network security and SSL Pinning?

83.What is the purpose of the Animated library?

84.What is the 'useNativeDriver' prop in animations?

85.Explain the use of the react-native-reanimated library.

86.What is LayoutAnimation?

87.What is Lottie for React Native?

88.How do you handle error responses from APIs?

89.What is retry logic for failed API calls?

90.What are the challenges of using React Native for complex animations?

91.How do you manage API versioning in React Native?

92.What is the XHR module used for?

93.How do you handle binary data or file uploads in React Native?

94.What is the purpose of the watermelondb library?

95.Explain the concept of 'optimistic UI updates'.

96.How do you implement custom animations in React Native?

97.What is the difference between Animated.timing and Animated.spring?

98.How do you store data in AsyncStorage safely?

99.What is the significance of the storage system in React Native?

100.How do you handle API calls in a performant way?

101.How do you debug a React Native application?

102.What is Flipper and how does it help in development?

103.How can you test React Native components?

104.What is the difference between Jest and Detox?

105.How do you implement Error Boundaries in React Native?

106.What is the significance of the PureComponent vs React.memo?

107.Explain the concept of Higher-Order Components (HOCs).

108.What is the 'render prop' pattern?

109.What is the 'compound component' pattern?

110.What is forwardRef and when should you use it?

111.How do you handle conditional rendering in React Native?

112.What is the use of react-native-vector-icons?

113.Explain setNativeProps and why it is used.

114.What are the common strategies for effective logging in production?

115.Discuss the challenges of testing components with external dependencies.

116.What is the role of code reviews in React Native development?

117.What is the difference between unit testing and integration testing?

118.What are Snapshot Tests in Jest?

119.How do you test a component that uses a Hook like useEffect?

120.What is the benefit of using React Native Testing Library over Enzyme?

121.How do you debug network requests in React Native?

122.What is the purpose of the 'shouldComponentUpdate' lifecycle method?

123.Describe Timers in a React Native application.

124.What is the difference between setTimeout and setImmediate?

125.How do you handle touch events in React Native?

126.What are the differences between native modules and JavaScript modules?

127.How do you create a native module?

128.What is the React Native Bridge and why is it being replaced?

129.What is JSI (JavaScript Interface)?

130.What are TurboModules?

131.What is Fabric architecture?

132.How do you integrate React Native into an existing Android or iOS app?

133.How do you implement push notifications in React Native?

134.What is the difference between remote and local notifications?

135.How do you implement deep linking in a React Native app?

136.What are Universal Links (iOS) and App Links (Android)?

137.How do you handle notifications when the app is in the background vs. quit state?

138.What is Firebase Cloud Messaging (FCM)?

139.How do you use environment variables in React Native?

140.What is the Metro bundler?

141.What is the difference between Fast Refresh and Hot Reloading?

142.How do you set up different environments (dev, staging, prod)?

143.What is the purpose of the react-native-config library?

144.What is a 'flavor' in Android and a 'scheme' in iOS?

145.Discuss the advantages of using native components in a React Native app.

146.How do you secure API keys in React Native?

147.What is the difference between development and production builds?

148.How do you handle user permissions in React Native?

149.What is the 'Info.plist' file in iOS?

150.What is the 'AndroidManifest.xml' in Android?

151.How do you use TypeScript in React Native?

152.What are the benefits of using TypeScript over plain JavaScript?

153.How do you type props and state in a functional component?

154.What is the difference between 'type' and 'interface' in TypeScript?

155.What are Generic Types and how are they useful in React Native?

156.How do you use Firebase in React Native?

157.What is the difference between Firestore and Realtime Database?

158.What is Firebase Authentication?

159.What is Firebase Crashlytics and why is it important?

160.How do you secure sensitive data like API keys in a mobile app?

161.What is Code Obfuscation and how do you implement it?

162.What is SSL Pinning and why is it used?

163.How do you handle Right-to-Left (RTL) languages in React Native?

164.What is the 'i18next' library and how is it used?

165.What is the role of react-native-localize?

166.How do you handle permissions in React Native?

167.What is the 'Keychain' on iOS and 'Keystore' on Android?

168.How do you implement biometric authentication (FaceID/Fingerprint)?

169.What is a Content Security Policy (CSP) in mobile apps?

170.How do you handle localization of images?

171.What is 'Declaration Merging' in TypeScript?

172.What is Firebase Analytics?

173.How do you implement 'Dark Mode' using TypeScript and Context?

174.What are 'Union Types' and how do they help in API handling?

175.How do you handle timezones in a global React Native app?

176.How do you build a React Native app for production?

177.What is the difference between debug and release builds?

178.How do you generate an APK vs an AAB in Android?

179.How do you generate an IPA for iOS?

180.What is App Signing and why is it required?

181.How do you implement a CI/CD pipeline for a React Native app?

182.What is CodePush and how does it work?

183.What are Over-the-Air (OTA) updates?

184.What is Fastlane?

185.How do you manage Provisioning Profiles and Certificates in iOS?

186.What is TestFlight and Google Play Internal Testing?

187.How do you handle App Store rejections?

188.What is the difference between an Ad Hoc and App Store distribution?

189.What is ProGuard and R8 in Android?

190.How do you implement Multi-Dex in Android?

191.What is the purpose of the 'Scheme' in Xcode?

192.How do you use 'App Center' for distribution?

193.What is the importance of the Bundle Identifier and Package Name?

194.How do you handle 'Privacy Manifests' (iOS 17+)?

195.What is the role of 'Version Number' vs 'Build Number'?

196.What is 'Keystore' and how do you protect it?

197.How do you automate App Store screenshots?

198.What is the difference between 'Internal,' 'Alpha,' and 'Beta' tracks in Google Play?

199.What is 'App Store Connect'?

200.What is the 'Google Play Console'?

201.How do you architect a large-scale React Native application?

202.What are the best practices for handling large datasets in React Native?

203.How do you set up a monorepo for React Native using NX or Turborepo?

204.What is the importance of accessibility (A11y) in React Native?

205.What is your experience with using Hermes? How do you enable it?

206.Discuss the differences between iOS and Android development in React Native.

207.How do you implement a splash screen correctly in React Native?

208.What is react-native-svg and when should you use it?

209.How do you handle backward compatibility in your applications?

210.What are the common pitfalls when using third-party libraries?

211.How do you ensure data consistency across multiple screens?

212.What future trends do you see for React Native?

213.How do you manage user sessions and authentication tokens securely?

214.What is the difference between React Native Paper and NativeBase?

215.How do you implement a loading spinner using ActivityIndicator?

216.How do you handle the hardware Back Button in Android?

217.What is 'Code Splitting' in a React Native context?

218.How do you optimize app startup time (TTI)?

219.What is the 'Shadow Thread' and what is its role?

220.How do you handle 'Zombie' timers and intervals?

221.What is the difference between 'px', 'dp', and 'pt' in React Native?

222.Explain 'Fabric's' approach to 'Synchronous UI' updates.

223.How do you manage deep links when the app is already open?

224.What is the 'Headless JS' task used for?

225.What is the role of 'ProGuard' in the release build?

226.How do you handle 'Keyboard Overlapping' in React Native?

227.What is 'Tree Shaking' and does Metro support it?

228.How do you manage large binary files in a React Native project?

229.What is the difference between 'React Native Link' and 'Autolinking'?

230.How do you handle image caching in React Native?

231.Explain the use of 'ViewabilityConfig' in FlatList.

232.What is the purpose of the 'reselect' library in Redux?

233.How do you optimize React Native for 'Low-End' devices?

234.What is the role of the 'Codegen' tool in the New Architecture?

235.How do you implement 'Pull to Refresh' in a ScrollView?

236.What is the 'Pressable' component and why is it better than 'TouchableOpacity'?

237.How do you handle 'App State' (Foreground/Background)?

238.What is the significance of the 'useWindowDimensions' hook?

239.How do you implement 'Infinite Scrolling'?

240.What are 'Sticky Headers' and how do you enable them?

241.How do you handle user authentication in a React Native app?

242.What are the best practices for handling user sessions?

243.What is NativeBase?

244.What is React Native Elements?

245.How do you implement a loading spinner?

246.What is the purpose of ActivityIndicator?

247.How do you handle backward navigation?

248.What is the BackHandler API?

249.What is the 'FlashList' library by Shopify?

250.How do you implement 'Dark Mode' support effectively?