-
Notifications
You must be signed in to change notification settings - Fork 2
React native upgrading
Dmitry Usik edited this page Mar 30, 2021
·
1 revision
Since react-native isn't in the release, there might be some problems with the upgrading process. Try to follow the next recommendations in order to simplify this process.
- Each new major version of
react-nativeis released every 2-3 months. Don't upgrade your project just after the release, wait for a couple of weeks, or for the next minor version. Usually, a new version should be tested for some time in order to find some critical bugs. - If you are using some 3rd party libraries (I know, you are), try to check their websites. Not all the libraries are actively maintained and supported and it might take some time in order to have this library upgraded. Don't upgrade
react-nativeuntil you are sure that all the libraries will work as expected. - Always do the upgrade in a separate branch since it might break the project.
- Run all the existing tests after the upgrade, if you have them.
- Don't forget about Upgrade helper.