Skip to content

Instantly share code, notes, and snippets.

@yuriy-yarvinen
Last active January 4, 2023 18:40
Show Gist options
  • Save yuriy-yarvinen/f3a67e456b3f71931b82978d938e2b60 to your computer and use it in GitHub Desktop.
Save yuriy-yarvinen/f3a67e456b3f71931b82978d938e2b60 to your computer and use it in GitHub Desktop.

React Native

create project

expo init react-native-todo-app
npx create-expo-app AwesomeProject

Start android studio and start device

in project folder run

npx expo start

debug in chrome

ctrl + m

https://www.nativewind.dev/quick-starts/expo

npm install nativewind

npm install --dev tailwindcss

restart app and clear cache

expo start -c

https://reactnavigation.org/docs/getting-started/

npm install @react-navigation/native

npx expo install react-native-screens react-native-safe-area-context

npm install @react-navigation/native-stack


npx expo install react-native-heroicons

npx expo install react-native-svg

npm install @reduxjs/toolkit react-redux

npm install react-native-animatable --save

in new file

rnfe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment