React Native v0.4 release, write mobile apps with React

Source: Internet
Author: User

React Native v0.4 released, since React Native open source, including more than 12.5k stars,1000 commits,500 issues,380 pull requests and 100 contributors, there are 35 plugins and 1 x AppStore Apps!

Direct hit scene

"HTML Development macosapp Tutorial" Http://pan.baidu.com/s/1jG1Q58M

This release is mainly improved as follows:

  • error messages and documentation : added a number of warning messages, updated the documentation, fixed a number of bugs

  • compatible with NPM modules : A large number of libraries are dependent on NPM, not node/browser internal

  • Infrastructure: reconstructs the interior of the React Native, makes it easier to insert into existing IOS libraries, improves system performance, and reduces startup time

  • components: providing a large number of UI components and APIs

  • testing: porting JavaScript test, IOS snapshot test, end to end test to Travis CI

  • Patent Grant

  • Per Commit History

For more information, please see the release notes.

Reactnative 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.

The principle of React native is to use React abstract operating system native UI components in JavaScript instead of DOM elements to render, such as <View> instead of <div>, with <Image> instead of and so on.

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.

React native offers three benefits over standard web development or native development:

    1. Gesture recognition: Mobile applications built on Web-based technologies (HTML5/JAVASCRIPT) are often complained of lack of timely response. The native UI-based react native avoids these problems to enable real-time response.

    2. Native components: Components implemented using Html5/javascript are always a little less than native components, while react native naturally does not have this problem due to the native UI component.

    3. Styles and layouts: IOS, Android, and web-based apps each have different styles and layout mechanisms. React native implements a consistent cross-platform style and layout across all mobile platforms through a Flexbox-based layout engine.

RELATED LINKS
    • React Native Details: please click here
    • React Native: Please click here.

React Native v0.4 release, write mobile apps with React

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.