π Understanding React Native Components vs. React Components
π― Goal
Understand the differences between React (Web) Components and React Native Components, including their syntax, rendering, and styling.
β
Why is this important?
React Native follows a similar component-based architecture to React, but it uses native UI components instead of HTML elements.
β
Tasks
β
Reflection (rn-components.md)
- What are the key differences between
<View> and <div>?
- How does
StyleSheet.create() improve performance compared to inline styles?
- Why doesnβt React Native use
className like React web?
π Understanding React Native Components vs. React Components
π― Goal
Understand the differences between React (Web) Components and React Native Components, including their syntax, rendering, and styling.
β Why is this important?
React Native follows a similar component-based architecture to React, but it uses native UI components instead of HTML elements.
β Tasks
View,Text,Image,ScrollView,FlatList)StyleSheet.create()β Reflection (
rn-components.md)<View>and<div>?StyleSheet.create()improve performance compared to inline styles?classNamelike React web?