React Native
  • Initial page
  • Set-up
    • Prepare the environment
    • ESLint
    • Debugger
  • Introduction
    • React v.s. React Native
    • Project Tree & Script Structure
  • Component & Props
    • What is Props
    • What is Compoent
      • Axios and Component State
      • Class-base components
      • Example
        • Activity Indicator
        • Rendering Large list
        • Card
  • Styling
    • What is Styling
    • Primitive elements
    • Flexbox
      • justifyContent
      • flexDirection
    • More on styling
    • Alignment & Touchable Item
  • Redux
    • What is Redux
    • What is Reducer
  • React-thunk
    • Untitled
  • Build & Release
    • Untitled
Powered by GitBook
On this page

Was this helpful?

  1. Set-up

Prepare the environment

Create nodejs environment via conda

conda create -p env nodejs=8
# Install the react native command line interface
(env) $ npm install -g react-native-cli

#This will create a new project for the application
(env) $ react-native init <project/application name>

# Enter the project directory ($ cd <project>) and 
# use this command to launch the iOS simulator:
(env) $ react-native run-ios

Killing whatever is using port 8081 with lsof -n -i4TCP:8081

PreviousInitial pageNextESLint

Last updated 6 years ago

Was this helpful?