Workshop starter template for the Expo Router workshop at React Native London Conf 2024.
- Fork this repo. You'll start working right on
main
. - Grab the lessons from here (clone it, open it in your browser, whatever works for you).
- Start at the first module by opening up the file starting with "01-".
- Do the rest of the modules in order.
- Node LTS version (18+)
- Visual Studio Code
- Expo Go on your device or simulator
- Web browser
Note
We're working on the cutting edge on this workshop - SDK 52. We anticipate it will be fully-live just before the workshop, but for now, if you test this out before the workshop, you'll have to download the SDK 52 Expo Go beta through the Expo CLI instrutions for use with Android or iOS simulators. If you want to run it on your iOS device before the new version is ready, you can make a development build (see below). Of course, we'll be ready to help you out in the workshop, and even if you have issues getting things working on a device, rest assured that practically all exercises can be completed in a web browser. Nevermind! SDK 52 is LIVE! Just download Expo Go from the Play Store or App Store.
You actually don't need a Mac for this workshop. You don't need to do any native builds for the main workshop exercises (maybe useful for 1 or 2 side quests)
Do these steps to ensure you'll be ready to go when the workshop starts:
-
Fork and clone this repo
-
Open the project in Visual Studio Code and install the recommended extensions.
-
Restore dependencies with
npm install
-
Run
npx expo start
-
Press
w
to open the app in your web browser. -
Scan the QR code with your phone to test the app in Expo Go.
Tip
Pull changes from the forked starter repo and run npm install
again right before the workshop, as there may be fixes and version bumps!
(see https://docs.expo.dev/develop/development-builds/use-development-builds/)
- Clone the repo, run
npm install
- Run
npx expo install expo-dev-client
- Install the EAS CLI (
npm install -g eas-cli
) - Run
eas build:configure
(login to / create your Expo account if needed) - Run
eas credentials
to register your device for ad-hoc distribution ("website" method is easiest) - Run
eas build --profile development --platform ios
(see https://docs.expo.dev/guides/local-app-development/)
- Clone the repo, run
npm install
- Run
npx expo install expo-dev-client
- Run
npx expo run:ios