improve upgrading chapter in README

This commit is contained in:
Artur Girenko 2016-06-04 10:08:28 +02:00
parent 1b29623e25
commit 9ffcd60d94
1 changed files with 8 additions and 4 deletions

View File

@ -282,6 +282,14 @@ This is needed to regenerate index.\*.js files which includes `require` calls to
After this you can use a new image in your cljs code. After this you can use a new image in your cljs code.
## Upgrading existing Re-Natal project ## Upgrading existing Re-Natal project
#### Upgrading React Native version
To upgrade React Native to newer version please follow the official
[Upgrading](https://facebook.github.io/react-native/docs/upgrading.html) guide of React Native.
Re-Natal makes almost no changes to the files generated by react-native so the official guide should be valid.
#### Upgrading Re-Natal CLI version
Do this if you want to use newer version of re-natal. Do this if you want to use newer version of re-natal.
Commit or backup your current project, so that you can restore it in case of any problem ;) Commit or backup your current project, so that you can restore it in case of any problem ;)
@ -304,10 +312,6 @@ Then to continue development using figwheel
$ re-natal use-figwheel $ re-natal use-figwheel
``` ```
To upgrade React Native to newer version please follow the official
[Upgrading](https://facebook.github.io/react-native/docs/upgrading.html) guide of React Native.
Re-Natal makes almost no changes to the files generated by react-native so the official guide should be valid.
### Enabling source maps when debugging in chrome ### Enabling source maps when debugging in chrome
To make source maps available in "Debug in Chrome" mode re-natal patches To make source maps available in "Debug in Chrome" mode re-natal patches
the react native packager to serve \*.map files from file system and generate only index.\*.map file. the react native packager to serve \*.map files from file system and generate only index.\*.map file.