How to Structure a React Native Project

How to Structure a React Native Project

2016, Jan 04    

iOS Setup

  1. Install Node.js (4.0 or newer):
    nvm install node && nvm alias default node
    
  2. Initialize Project:
    Navigate to the folder where you would like to develop your React Native application:
    react-native init YourProjectName
    
  3. Run the app:
     cd YourProjectName
    


    Open YourProjectName.xcodeproj and hit run in Xcode.

  4. Make some change:
    Open index.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. Welcome to React Native