What is React Native?
React Native is an open-source framework for building native Android and iOS applications using React.
JavaScript to access platform-specific APIs.
React components to define the appearance and behavior of your user interface.
React itself is a library designed for building user interfaces.
react-dom for web apps and react-native for native mobile apps.
Why React Native?
With React Native, you can create an app that works seamlessly on both platforms.
Expo vs React Native
React Native is an open-source framework maintained by Meta, designed for building cross-platform apps.
Expo is an open-source framework maintained by Expo itself, designed for building cross-platform apps.
Unlike plain RN, which can be challenging and time-consuming to set up, Expo provides a streamlined experience.
Expo has a suite of tools and services built around React Native, whic greatly simplifies the development process.
With plain react native, you cannot build iOS apps on a windows or linux machine. Native iOS apps can only be built on a macOS machine.
with Expo, you can develop your app on windows or linux and run your app on a physical iphone.
Core Component
In Android and iOS development, we employ a fundamental building block called a "view" for user interfaces.
At runtime, React Native generates the corresponding Android and iOS views for these components.
React Native offers a collection of essential pre-built components known as "Core Components", which are readily available for building your native app's user interface.

0 댓글