React Commands

 npm install -g react-native-cli

 

Go to folder where you want to install

npx react-native init Hsvp ( HSVP is folder name, replace it with yours )

 

npx react-native run-android

 


in folder

npm start

then

npm run-android



./gradlew assembleRelease

 
 
 
# Reset metro bundler cache : 
    `npx react-native start --reset-cache`
        
    # Remove Android assets cache : 
    `cd android && ./gradlew clean`
        
    # Relaunch metro server : 
    `npx react-native run-android`

Comments

Popular posts from this blog

Simple Redux

Add Axios Interceptor in Services where Api is called

React Interview Questions