Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
React Native Components | Basic Concepts
Foundations of React Native
course content

Course Content

Foundations of React Native

Foundations of React Native

1. Introduction
2. Basic Concepts
3. Common Principles
4. Advanced Concepts

bookReact Native Components

Now that we know how to initiate the project, let's transition to the building blocks. In React Native, just like in React, components serve as the fundamental units for creating the user interface of your mobile app. These components are reusable, self-contained entities that encapsulate specific functionality or UI.

Let's explore React Native components that will be essential throughout the development of mobile apps.

Here are some foundational components. Starting from the next chapter, we will examine each in detail.

  • View: The most fundamental component in React Native, similar to a div in web development. It is used to group and style other components;
  • Text: Displays text content akin to the HTML <span> or <p> tags;
  • Image: Renders images, analogous to the HTML <img> tag;
  • ScrollView: Provides a scrolling container, useful when you have more content than can fit on the screen;
  • TouchableOpacity: A button-like component that offers touch feedback, used for handling touch events;
  • FlatList: A component used for efficiently rendering lists of data. It's optimized for performance and memory usage, especially for large lists;
  • SectionList: Similar to FlatList, but it also allows you to render sections with headers, making it suitable for displaying categorized data;
  • Switch: Represents a customizable switch toggle component, commonly used for binary on/off states;
  • ActivityIndicator: Displays an animated loading indicator, indicating that content is being loaded or processed;
  • Modal: A component used to present content above an enclosing view. It's often used for alerts, notifications, or presenting additional information;
  • TextInput: Provides a way for users to input text, similar to the HTML <input> element, allowing for user interaction and data entry.

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 2
some-alt