Hello guys, React Native has launched its latest version 0.65 with some combine changes. The launching date of React Native 0.65 was August 17, 2021. With the latest version of react native 0.65 they have been using new version of Hermes. Also they have improved some accessibility features and made some package upgrades. You can read Here what new changes has been made in the latest version. So in this tutorial we would learn about How to Upgrade React Native 0.64 to 0.65 Guide and Latest Version Helper.
Contents in this project Upgrade React Native 0.64 to 0.65 Guide | Latest Version Helper :-
1. Before staring the upgrading process, First we would check our current react native project version. So execute the below command in your React Native Project Root directory to see what react native version you have already. Mine is 0.64.2 .
1
|
react–native —version
|
2. Now in the next step you have to execute below command to install and upgrade to latest version of 0.65 .
1
|
npm install —save react–native@0.65
|
Screenshot :
Screenshot after done upgrade :
3. Now we have to again execute another command to make sure all the packages were installed correctly. So execute below command.
1
|
react–native upgrade
|
4. Now our project is ready to use. But there is one more thing for Android users. We have to clear our OLD android project Gradle and rebuild it again. So execute below command to rebuild the Gradle.
1
|
cd android && gradlew clean && cd..
|
Hooray… Now you have been upgraded to latest version of react native.
5. Now again execute
react–native —version command to check which version of react native you currently have.
For any problems please comment below. I’ll assist you . Thanks for reading my article.
Screenshot of App :-