![]() These are React Native's Core Components. React Native comes with a set of essential, ready-to-use Native Components you can use to start building your app today. We call these platform-backed components Native Components. Because React Native components are backed by the same views as Android and iOS, React Native apps look, feel, and perform like any other apps. At runtime, React Native creates the corresponding Android and iOS views for those components. With React Native, you can invoke these views with JavaScript using React components. In Android development, you write views in Kotlin or Java in iOS development, you use Swift or Objective-C. It’s views all the way down! Just a sampling of the many views used in Android and iOS apps. Some kinds of views can contain other views. Even the smallest visual elements of an app, like a line of text or a button, are kinds of views. In Android and iOS development, a view is the basic building block of UI: a small rectangular element on the screen which can be used to display text, images, or respond to user input. But first, let’s cover how components work in React Native. You can learn more about React in the next section. With React Native, you use JavaScript to access your platform’s APIs as well as to describe the appearance and behavior of your UI using React components: bundles of reusable, nestable code. React Native is an open source framework for building Android and iOS applications using React and the app platform’s native capabilities.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |