React Native
A set of cross-platform scenarios based on the node. JS model environment, using the react UI environment.
The real-world scenario might be a node. JS-based model environment, based on each platform's UI environment.
iOS Environment installation
1. Install NVM
Https://github.com/creationix/nvm#installation
2. Install node
NVM Install 5.3.0
NVM Alias Default node
3. Installing Watchman
Brew Install Watchman
4. Install flow (JS static check)
Brew Install Flow
5. NPM Install-g REACT-NATIVE-CLI
React native command-line tools
6. Create a project
React-native Init Sampleproject
7. When the project is debugged, it needs a command line-initiated node server to be present before it can run.
If you need an offline, packaged app, you need the following steps (not tested)
Https://facebook.github.io/react-native/docs/running-on-device-ios.html#using-offline-bundle
8. Can be integrated in another project
Https://facebook.github.io/react-native/docs/embedded-app-ios.html#content
React Native Installation Guide