Skip to content

[Snyk] Upgrade react-native from 0.73.6 to 0.80.1 #121

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"react-dom": "18.2.0",
"react-i18next": "^15.0.1",
"react-intl": "2.8.0",
"react-native": "0.73.6",
"react-native": "0.80.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This direct upgrade of react-native is incorrect for an Expo-based project. The React Native version is tightly coupled with the Expo SDK version to ensure compatibility across the ecosystem.

  • Incorrect Upgrade Path: You should not upgrade the react-native package directly. The correct method is to upgrade the Expo SDK using npx expo upgrade. This command updates all expo-* packages and react-native to a compatible set of versions.
  • Version Incompatibility: The project uses Expo SDK 50, which requires react-native@~0.73.6. The target version 0.80.1 is not supported by any stable Expo SDK version and is a significant leap that would include numerous breaking changes.

This change will break the project. Please close this PR and follow the official Expo upgrade documentation.

"react-native-cli": "^2.0.1",
"react-native-device-info": "^11.1.0",
"react-native-gesture-handler": "~2.16.0",
Expand Down
Loading
Loading