Facebook launches react Native to develop mobile native apps with JavaScript

Source: Internet
Author: User

At the React.js Conf 2015 meeting, Facebook released React Native, which can develop iOS and Android native apps based on the current hot open source JavaScript library react.js. And react native has been used in production environments--facebook Groups iOS apps are developed based on it. Facebook has also confirmed that the project will soon be open source.

According to Progville's article, the principle of React native is to use the React abstract OS native UI component in JavaScript instead of DOM elements to render, such as <View> instead of <div> to < Image> replacement .

Behind the scenes, React native runs the JavaScript engine in another background thread outside the main thread, communicating between two threads via a batch of quantitative async message protocols (with a dedicated React plugin).

UI aspect react native provides a cross-platform similar flexbox layout system and also supports a subset of CSS. It can be developed using JSX or the common JavaScript language, as well as Coffeescript and typescript. It has been commented that React's UI layer model is much better than Uikit.

Better yet, thanks to Web-based technology, developers can look at the application running in the emulator at any time in the browser, refresh the line, without compiling, cool bar.

Facebook launches react Native to develop mobile native apps with JavaScript

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.