-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discussion: Upgrade process is a pain #23895
Comments
Same problem here. |
react-native-community/releases#100 (comment) Bump Alternatively: You can follow the recommendations here for getting to 0.59 |
I would have preferred the react-native-git-upgrade route because this will be a lot of work after using this legacy mode. |
It took me ~20 minutes to upgrade from 0.58.5 to 0.59 by applying the diffs here: react-native-community/rn-diff-purge@version/0.58.6...version/0.59.0 Hopefully going forward, They got rid of |
I could understand that, but the fact is that I have numerous clients and doing it for each of their apps is going to be tedious and error prone.
|
Can you try |
The React Native 0.59 blog post covers this topic. Upgrading has been painful for people in the past, and people we work with closely have had success using rn-diff-purge to upgrade to 0.59. Once you're on 0.59, you can use the new upgrade command by default, or you can follow the advice above to directly use the latest React Native CLI. Since the aim of this thread is to discuss the upgrade process, I recommend using the existing Upgrading React Native thread in the Discussions repository. I am closing this issue in favor of the existing one. |
I must say that even though it is covered in the blog post, it is covered really poorly. It took me a few tries and about one day to manage to upgrade to 0.59. Once I have some time I'll add a full upgrade guide to this comment though I strongly recommend that the blog post will be revised. |
@jeffreyffs Your solution was wayyyy easier and quicker! I just upgraded from 0.56 to 0.59 without the hassle I usually have using |
@amitassaraf can you elaborate on what can be done to revise it? I'd appreciate some concrete feedback on what we can do to make the process clearer. |
@hramos For me it was not clear what I was supposed to do. I understood I need to apply changes manually and that is about it. The following are the steps I took and I think they should be added / explained better in the blog post.
For me the confusing parts were steps 2, 3, and 4. All that was written in the blog post was "Apply the changes manually". |
How did you manage the diff concerning the |
There should be no changes from |
For others.. In new versions, you need to start the server manually. Try |
I'm trying to upgrade from RN 0.57.8 to 0.59.0.
Unfortunately I'm trapped in a double bind because:
react-native-git-upgrade 0.59.0 fails with the following error:
I've found this issue, where it is suggested to use the new upgrade command of the CLI.
But, the version I'm running tells me to use react-native-git-upgrade instead 8()
What should I do to upgrade to 0.59.0
The text was updated successfully, but these errors were encountered: