Skip to content

Instantly share code, notes, and snippets.

@jgcmarins
Forked from julioxavierr/react-native-update.md
Last active February 17, 2021 14:19
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jgcmarins/dd443dfe3226ce10a25e2e96fc9c3175 to your computer and use it in GitHub Desktop.
Save jgcmarins/dd443dfe3226ce10a25e2e96fc9c3175 to your computer and use it in GitHub Desktop.
Steps to Upgrade a React Native App

React Native Upgrade Path

  1. Change React and React Native versions in package.json
  2. Run yarn install to upgrade dependencies
  3. Run yarn outdated or yarn upgrade-interactive to upgrade outdated libraries. Make sure that there's no breaking changes, check release notes (one by one).
  4. Compare your changes with the diff or use the upgrade-helper and update the native code.
  5. Open Xcode and link the binaries
  6. Run iOS
  7. Test iOS
  8. Run on Android
  9. Test Android
  10. Be happy \o/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment