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