Skip to content

makkhay/first-react-nativeApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment #1

Objectives

  • Intro to React Native, Expo and CRNA
  • Intro to RN components & styling

TODO

Demo

Video Walkthrough

Vanilla React Native

  • Most control & customization for a RN app - let's you write native code for iOS (Swift) & Android (Java/Kotlin)
  • Needs XCode & Android Studio to run the app on your computer on an iOS Simualor or Android Emulator
  • Least beginner friendly but most powerful way to get started with RN (with respect to setup)

Setup & Run

npm install -g react-native-cli

react-native init VanillaReactNative

cd VanillaReactNative

react-native run-ios
  or
react-native run-android

For more details or if you run into trouble, follow this guide.


CRNA

  • Most functional & flexible of all the options - gives you Expo tooling and also allows your to eject out of the Expo ecosystem and generates iOS & Android code for you
  • Doesn't need XCode & Android Studio - can scan the QR code on your expo app and run your RN app
  • Most flexible way to get started with RN

Setup & Run

npm install -g create-react-native-app

create-react-native-app CRNA

cd CRNA

npm start

scan the QR code on the Expo mobile app
  or
npm run ios (needs Xcode)
  or
npm run android (needs Android Studio)

For more details or if you run into trouble, follow this guide.


Expo

  • Most feature rich of all the options - gives you access to Expo tooling & SDK with some really useful feature that work with minimal config
  • Doesn't need XCode & Android Studio - can scan the QR code on your expo app and run your RN app
  • Easiest & most useful way to get started with RN

Setup & Run

open up Expo XDE & open your project folder
  or
npm install -g exp
exp start

click share on XDE (top right) & scan QR code on your phone
  or
exp ios (needs Xcode)
  or
exp android (needs Android Studio)

For more details or if you run into trouble, follow this guide.


About

Creating my first react native app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published