Mobile Development- Using React Native - Lecture 4
Lecture Outcome:
At the end of the lecture, students will be able to know about
- How to Open and Run Project in VS
- Programming Basis
## EXPO GOTCHA's
# INTERNET
# EXPO INIT ( SHELL/CMD/POWERSHELl/CMDline) #notAdministrator
# cd into your project
# if you dont like CD
## GO TO VSCODE
-> OPEN
-> your project
-> in terminal
## in terminal
-> npm run start (local, LAN, TUNNEL)
-> TUNNEL install it ( then you can use it to other phones/laptops without same internet)### PROGRAMMING BASICS
symbols ( operators ) ISHAARAY
function EVENTS/TAKREEB
variabls/constants Zaray ( kam krna ma madad dain wali cheezain)
FAIl, FAAAILL, MAFOOL
`
const first = 20;
if( first === 20 ) {
print('20 chla h')
}else {
print('nei yara 20 nei h')
}
# NODEJS
### PACKAGES WORKING
- every package has scripts ~
- every script can/can't have flags e.g "expo start --FLAG"
## WHAT ARE FLAGS FOR
- flags help us to do specific variations on a command
## TANA BANA ( TAKE AWAYS )
=> NODE JS is EVERYTHING
=> we get Frameworks(EXPO,RN,REACT,ANGULAR)
=> We get packages (react- native-calender)
=> scripts help us to runa command/function/code/anything
### Rizwan 🏴☠️ asked us to install NODEJS then he went on to install EXPo and then created a project and asked us to run scripts

0 comments:
Post a Comment