A simple way to do it would be to uninstall the current react-navigation dependencies you have by running npm uninstall react-navigation . That should remove it from your package. json and package-lock. json .
Read moreHow do you install a specific version of react native?
You could use the initialized project, delete the node_modules, then go into the package. json file and specify the version you want, and run npm insall again .
Read moreHow do I downgrade react native in Expo?
If you just change it in package. json and run expo build:android / expo build:ios it will build javascript bundle using that react-native, but native code will be still from old react-native, which likely is not compatible. To change version of react-native you need to either: eject .
Read moreHow do I change react native version?
React Native CLI
Read moreHow check React version VS code?
The other method is also straightforward, you can check the React app version by heading over to node_modules/react/cjs/react. development. js . You can see the react project version in the commented section as showing given below.16 Mar 2022
Read moreWhat is current version of React?
React 17 is still the current stable version, but we now know a lot more about React 18. We can analyze changes to React components, user interfaces libraries, and many other aspects talked about by the React community.
Read moreWhat is the current React Native version?
Today we’re releasing React Native v0. 66 for Android 12 and iOS 15 support alongside fixes and general updates.
Read more