React Native tilbyr et sett med kjernkomponenter — som View, Text, Image, ScrollView, TextInput — som mapper til native UI-elementer. De er de grunnleggende byggesteinene i React Native UIsene, brukt i stedet for web HTML-elementer.
Kjernkomponenter (vs web HTML)
React Native uses its OWN components (mapping to native views), NOT HTML:
VIEW → a container (like a <div>) — the basic layout building block
TEXT → display text (ALL text must be inside a <Text>, unlike web)
IMAGE → display images (local or remote)
TEXTINPUT → text input field (like an <input>)
SCROLLVIEW → a scrollable container
FLATLIST → an efficient scrollable LIST (for long lists — renders lazily)
TOUCHABLEOPACITY / PRESSABLE → handle taps (touchable areas)
BUTTON → a basic button
