How to Structure a React Native Project
2016, Jan 04
iOS Setup
- Install Node.js (4.0 or newer):
nvm install node && nvm alias default node
- Initialize Project:
Navigate to the folder where you would like to develop your React Native application:
react-native init YourProjectName
- Run the app:
cd YourProjectName
OpenYourProjectName.xcodeproj
and hit run in Xcode. - Make some change:
Openindex.ios.js
in your text editor of choice and edit some lines.
Hit ⌘+R in your iOS simulator to reload the app and see your change!
Congratulations! You’ve successfully run and modified your first React Native app.