Facebook launched a JavaScript-based open source framework React at the React.js Conf 2015 conference Native
React Native combines the benefits of Web apps and Native apps with JavaScript to develop native IOS and Android apps. In JavaScript, use React abstract OS native UI components instead of DOM elements to render.
React Native enables you to build a world-class application experience on your on-premises platform using JavaScript-and React-consistent development experiences. React Native focuses on the development efficiency of all the platforms that developers care about-developers can easily write code efficiently for any platform, just by learning one language. Facebook has used React Native in multiple application offerings and will continue to invest in React Native.
React Native for Android
Facebook released React Native for Android on September 15, 2015, extending the WEB and native platform's JavaScript development technology to Google's popular mobile platform--android.
React native support iOS7.0 and above
React native requires Xcode 6.3 or a higher version . You can install it in the App Store.
This article is based on React Native V0.16.0-RC (2015-11-26)
Source of document data
http://facebook.github.io/react-native/docs/getting-started.html (official English document)
Http://wiki.jikexueyuan.com/project/react-native/GettingStarted.html (Chinese document)
Start deploying react on your Mac native
1, install homebrew, open the Terminal tool on Mac
launchpad-Terminal
Run Ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install) at terminal
Refer to this blog post http://www.cnblogs.com/lzrabbit/p/4032515.html
2. Install NVM
Run the commands on the terminal brew install NVM
You need to create a new file after the installation ~/.bashrc
~/.profile
is complete, or~/.zshrc
Then enter the following to save and replace "$HOME/.NVM" with the corresponding directory, which can be viewed with the Echo source $ (Brew--prefix NVM)
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
IOS React Native Practice series One