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 moreWhen was react 16.8 released?
Released: 6th February, 2019 React 16.8 marks a major step forward in React and the way developers can implement function components and use React features.
Read moreHow do I update React Native to latest version?
The easiest way to upgrade React Native to the latest version
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 moreIs react 18 coming out?
The first React 18 Alpha release came to us in June 2021, followed by a Beta in November 2021 . We’re in the final stretch now, so it’s the perfect time to catch up on all the exciting the new stuff coming your way and start thinking about what React 18 can offer for your app!
Read moreShould I upgrade React 17?
React 17 will no longer attach event handlers at the document level. Instead, it will attach them to the root DOM container into which your React tree is rendered. Note: For this to work, both the version of React apps should be more than v17, which is why upgrading to v17 is needed , i.e. to make further upgrades easy.
Read moreIs React the same as React Native?
React Native. React Native is an open-source JavaScript framework used for developing a mobile application for iOS Android, and Windows. It uses only JavaScript to build a cross-platform mobile app. React Native is same as React, but it uses native components instead of using web components as building blocks .
Read more