React Native

General

Project Structure and Components

Styling

Used libraries

For beginners

Advanced

Must watch

Common problems

Magic commands

Add missing assets

react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

Reset cache

About: https://gist.github.com/jarretmoses/c2e4786fd342b3444f3bc6beff32098d

watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache

Android Debug APK not updated and runs old code base

curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle"

results matching ""

    No results matching ""