Removed the typescript and organized some folders based on the original tutorial by @benawad.
-
TypeScript Repo: https://github.com/benawad/react-navigation-v5-tutorial
You must have expo cli installed
npm install -g expo-cli
git clone https://github.com/keepforever/react-navigation-v5-tutorial-javascript.git
cd react-navigation-v5-tutorial-javascript
yarn
expo start
- To run in simulator (you need to have Xcode up to date), press
i
, and it should (on a mac) open the ios simulator.
Alternatively, you can run in the Expo client on your Android or iPhone with the app.
https://apps.apple.com/app/apple-store/id982107779
https://play.google.com/store/apps/details?id=host.exp.exponent&referrer=www