In Expo and React Native, components are translated to native components for the platform it’s running on. To help you get started, React Native provides a set of ready-to-use components for your app. These components are called “core components” and most of them have built-in Android and iOS implementations.
You can import these components from the react-native
package. In the previous lesson, we already imported the View
and Text
core components. During this lesson, we will dig deeper in View
, Text
, Image
, Button
, TextInput
, and ScrollView
. These components are essential for every Expo and React Native apps.
We are covering some of the most common core components in this lesson. You can find the complete list of core components in the Expo API docs and React Native component docs.
Instructions
In this diagram, a basic mobile interface is broken down into its core components. We’ll be learning about each of these in this lesson.