From d66324d253b037a1398eaa9eea4f55573d88170d Mon Sep 17 00:00:00 2001 From: Sean Tempesta Date: Wed, 30 Aug 2017 14:26:21 +0200 Subject: [PATCH] Updating README to include upgrade instructions. fixes #37 --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 9b31f9a..e664e23 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,19 @@ lein prod-build ``` #### 3. Open XDE and [Publish](https://docs.expo.io/versions/latest/guides/publishing.html) +## Upgrading +As this is only an initial template, you'll want to upgrade to newer versions of `expo`. +Honestly, it's usually as easy as reading the latest [blog post](https://blog.expo.io/expo-sdk-v20-0-0-is-now-available-79f84232a9d1) for the new version +and following the upgrade directions at the bottom. It usually comes down to: +1. Updating the sdkVersion in `app.json` +2. Updating the react dependencies in `package.json` +3. Deleting your .node_modules directory +4. Running yarn to install the updated dependencies +5. Reopen your project in XDE and press “Restart” to clear the packager cache, or run exp start -c if you use use exp + +Sometimes you'll need to upgrade clojurescript rendering dependencies (`reagent` and `om-next`), and in that case I recommend checking +the issues/commits in this project for solutions. + ## Tips * Make sure you disable "Live Reload" and "Hot Reload" from the [Developer Menu](https://facebook.github.io/react-native/docs/debugging.html). (Figwheel does this better!)