Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

How do we upgrade react native? #90

Open
justinhandley opened this issue Aug 6, 2021 · 2 comments
Open

How do we upgrade react native? #90

justinhandley opened this issue Aug 6, 2021 · 2 comments

Comments

@justinhandley
Copy link

Hi There,

I was running into some remote build issues, and some of the problems I was having seem to be resolved in more recent versions of react native. I went to try and upgrade react-native, but neither of their upgrade paths really work, as the version of react-native I have installed doesn't have the file set they assume it does (for instance, the version of gradle for android is not the same as what they say it should be).

How do we upgrade react-native when it is built using this library?

@xiongemi
Copy link
Collaborator

xiongemi commented Aug 10, 2021

after you updated the version in package.json, you might still need to change some files manually as specified https://react-native-community.github.io/upgrade-helper/

@xiongemi
Copy link
Collaborator

or you could upgrade @nrwl/react-native by running nx migrate latest to update all packages start with @nrwl or nx migrate @nrwl/react-native to update @nrwl/react-native. it will update react native for you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants