mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-28 02:43:08 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
1.4 KiB
1.4 KiB
Core Components
Core components are the essential building blocks provided by React Native to create a user interface for mobile applications. They are platform-agnostic, meaning they work across both iOS and Android devices. Some of the common core components include:
Viewis a fundamental component for constructing the user interface. It is equivalent to adivin HTML and can be used as a container for other components.Textis used to display text content in your app. It is similar to theporspanelements in HTML.TextInputis a basic input field that allows users to type text into your app. It is similar to theinputelement in HTML.TouchableOpacityis a wrapper for making elements likeViewandTextrespond properly to touch events. It provides feedback by reducing the opacity of the wrapped component when pressed.ScrollViewis a scrollable container that allows users to scroll through its content. It is useful when you have content that exceeds the available screen size.FlatListis used to render a list of items using a performant approach. It only renders items that are currently visible on the screen and removes others to save memory.
Visit the following resources to learn more: