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 code Framework sample download: https://github.com/facebook/react-native
1. First download install Nodejs: https://nodejs.org/en/
2. Then recommend using Homebrew the way to install Nvm,watchman and flow:
It is recommended that you run Brew update && brew upgrade regularly to keep your applications up to date
3. Install react Native command: sudo npm install-g react-native-cli
4. Create the React native project:
In the terminal, locate the project file that you want to save, and then run the command: react-native init booksearch
5. Open the iOS boot file under Booksearch and run it with Xcode, the following screen will appear :
6. Edit the code in the Index.ios.js, or add additional JS files to the directory to write code.
7. About react native still need to hit the code more familiar, Rome cold day.
React Native Create an app