Filter by the role you are applying for, open a question, and practise explaining the answer out loud. Mark it practised when you can.
Why they ask this: Checks that you understand the trade-offs of the stack you are applying to work on.
Answer
<View> becomes an Android View or an iOS UIView). The New Architecture (JSI, Fabric and TurboModules) lets JavaScript call native code directly instead of through the old asynchronous bridge.How to choose: React Native suits teams that already know React and want to share logic with the web. Flutter offers very consistent UI and strong performance. Native is best for heavy platform-specific features. Both cross-platform options can call native modules when needed.
Why they ask this: Long lists are the most common performance problem in React Native apps.
Answer
ScrollView renders all of its children at once. That is fine for short, fixed content such as a settings screen.FlatList is virtualised: it renders only the items near the screen and recycles the rest. Use it for long or unknown-length lists such as feeds, job lists and chat.<FlatList
data={jobs}
keyExtractor={(job) => String(job.id)}
renderItem={({ item }) => <JobCard job={item} />}
onEndReached={loadMore} // infinite scroll
onEndReachedThreshold={0.5}
refreshing={refreshing}
onRefresh={refresh} // pull to refresh
/>Use SectionList for grouped data. For extra speed, memoise the item component, give a stable keyExtractor, and use getItemLayout when every row has the same height. FlashList (from Shopify) is a popular faster alternative.
Why they ask this: Android and iOS differ in many details, and real apps must handle both.
Answer
Platform module for small differences:import { Platform, StyleSheet } from 'react-native';
const styles = StyleSheet.create({
header: {
paddingTop: Platform.OS === 'ios' ? 44 : 0,
...Platform.select({
ios: { shadowOpacity: 0.2, shadowRadius: 4 },
android: { elevation: 4 },
}),
},
});DatePicker.ios.tsx and DatePicker.android.tsx. Importing ./DatePicker picks the right file automatically.Prefer safe-area handling (react-native-safe-area-context) over hard-coded paddings for notches.