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:
parent
c038a3839a
commit
41fac0584a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue