HomeAbout

React Native and Expo

Creating a new project

You can NOT use pnpm with React Native Expo because Expo has "implicit" dependencies which goes in contrast with symlink of pnpm.

# create app npx create-expo-app@latest # upgrade expo npx expo install expo@latest # upgrade packages npx expo install --check npx expo install --fix ## find and update npx npm-check-updates -u && npm i ## clear metro cache and restart npm start -- --reset-cache # running apps npm run android npm run ios npm run web # switch ios simulator device shift + i

Compile

# test production locally npx expo serve # publish web npx expo export -p web

Toggle Light and Dark Mode

# ios cmd + shift + a
AboutContact