Update Upgrading.md

Summary:
the linked [repo](https://github.com/ncuillery/rn-diff) can help significantly ease the upgrade process.
Closes https://github.com/facebook/react-native/pull/10953

Differential Revision: D4222341

Pulled By: mkonicek

fbshipit-source-id: 5ff4952ecc38f816c404bb56af4d744cf84aef7d
This commit is contained in:
Vojtech Novak 2016-11-22 13:36:58 -08:00 committed by Facebook Github Bot
parent c038a3839a
commit 41fac0584a
1 changed files with 7 additions and 3 deletions

View File

@ -29,9 +29,13 @@ $ npm install --save react-native@X.Y
## 2. Upgrade your project templates
The new npm package will likely contain updates to the files that are normally generated when you
run `react-native init`, like the iOS and the Android sub-projects. To get these latest changes,
run this in a terminal:
The new npm package may contain updates to the files that are normally generated when you
run `react-native init`, like the iOS and the Android sub-projects.
You may consult [rn-diff](https://github.com/ncuillery/rn-diff) to see if there were changes in the project template files.
In case there weren't any, simply rebuild the project and continue developing. In case of minor changes, you may update your project manually and rebuild.
If there were major changes, run this in a terminal to get these:
```sh
$ react-native upgrade