Home >Web Front-end >JS Tutorial >What is react native? What can you do?
What is react native? What can it do? Many friends may not know it. This article will introduce to you what react native means and what react native can do. Friends in need can take a look. I hope it will be helpful to you.
First of all, let’s talk about what react native is?
React Native (RN) is a cross-platform mobile application development framework open sourced by Facebook in April 2015. It is Facebook’s earlier open source JS framework. React A derivative of the native mobile application platform, it currently supports the two major platforms of iOS and Android. RN uses Javascript language, JSX similar to HTML, and CSS to develop mobile applications, so technicians who are familiar with Web front-end development can enter the field of mobile application development with very little learning.
React Native is perfectly compatible with components written in Objective-C, Java or Swift. If you need to specifically optimize a part of your application, it's easy to switch to native code halfway through. If you want to use part of the application natively and part using React Native, it’s totally fine—— Facebook's app does just that.
React Native enables you to write native mobile applications using only JavaScript. It is consistent with React in terms of design principles and uses a declarative component mechanism to build a rich and colorful user interface.
After reading what react native is, let’s continue to seeWhat can react native do?
React Native enables you to get a completely consistent development experience based on Javascript and React and build world-class native APPs.
What React Native produces is not a "web application", or an "HTML5 application", or a "hybrid application". The end product is a true mobile app that feels almost indistinguishable from apps written in Objective-C or Java. React The basic UI components used by Native are exactly the same as native applications. All you have to do is combine these basic components using JavaScript and React.
Now some companies actually use React Native, for example, Tmall iPad client "guess you like" business, Alipay's new generation framework is based on React; some new businesses of Ctrip.com App; Qunar.com for Revenue assistance system used by airlines; Baidu Image Search Wireless' new homepage, partially testing the waters.
React Native combines the advantages of web applications and Native applications, and can use JavaScript to develop iOS and Android Native application. Use React in JavaScript to abstract the native UI components of the operating system and replace DOM elements for rendering, etc.
This article ends here. For more knowledge about React Native, you can pay attention to the react tutorial column of the php Chinese website to watch related free videos!
The above is the detailed content of What is react native? What can you do?. For more information, please follow other related articles on the PHP Chinese website!