flexbox / react-native-bootcamp

1 week, 20+ lessons, opinionated React Native Bootcamp for busy developers.
https://davidl.fr/bootcamp
222 stars 12 forks source link

Road to Expo SDK 49 #193

Closed flexbox closed 1 year ago

flexbox commented 1 year ago

https://blog.expo.dev/expo-sdk-49-beta-is-now-available-6373e78f8624 https://blog.expo.dev/expo-sdk-49-c6d398cdf740

Challenges

Network debugging is now available in the JS debugger. For several SDK releases, it has been possible to launch the JS (Hermes) debugger directly from Expo CLI with the j shortcut.

  • [ ] update debug instructions

npx expo start no longer requires the --dev-client flag for development builds. It will default to targeting development builds if you have expo-dev-client installed in your project.

  • [ ] remove --dev-client

n SDK 49, you can define your variables in .env (and similar files such as .env.local, see the full list) with the EXPO_PUBLIC prefix and they’ll be included in your app JavaScript.

Spacecraft

Upgrade an existing project: Install the beta version of the Expo package:

yarn add expo@next

Upgrade all dependencies to match SDK 49:

npx expo install --fix

Jimmy Punchline