From 33de0a4e057ae8ef35ec6da415442164e33ebcc7 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Wed, 1 Jun 2016 13:39:32 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/upgrading.html | 2 +- versions.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/releases/next/docs/upgrading.html b/releases/next/docs/upgrading.html index 2cf77c96686..dbedfd267bb 100644 --- a/releases/next/docs/upgrading.html +++ b/releases/next/docs/upgrading.html @@ -2,7 +2,7 @@ and other goodies. Because React Native projects are essentially made up of an Android project, an iOS project and a JavaScript project, all combined under an npm package, upgrading can be rather tricky. But we try to make it easy for you. Here's what you need to do to upgrade from an older -version of React Native:

1. Upgrade the react-native dependency #

Note the latest version of the react-native npm package from here (or use npm info react-native to check):

Now install that version of react-native in your project with npm install --save. For example, to upgrade to the version 0.18, in a terminal run:

$ npm install --save react-native@0.18

2. Upgrade your project templates #

The new npm package will likely contain updates to the files that are normally generated when you +version of React Native:

1. Upgrade the react-native dependency #

Note the latest version of the react-native npm package from here (or use npm info react-native to check):

Now install that version of react-native in your project with npm install --save. For example, to upgrade to the version 0.26, in a terminal run:

$ npm install --save react-native@0.26

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:

$ react-native upgrade

This will check your files against the latest template and perform the following: