Skip to content
Open
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 example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"react": "18.3.1",
"react-native": "0.75.3"
"react-native": "0.85.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 react-native upgraded to 0.85.0 but @react-native/ devDependencies left at 0.75.3*

The react-native dependency was bumped from 0.75.3 to 0.85.0, but the @react-native/babel-preset, @react-native/metro-config, and @react-native/typescript-config devDependencies at example/package.json:21-23 are still pinned to 0.75.3. These packages are part of the React Native monorepo and are versioned in lock-step with the main react-native package. Using 0.75.3 versions of the tooling packages with react-native@0.85.0 will cause build failures or runtime incompatibilities due to API/configuration changes across 10 minor versions.

Prompt for agents
The react-native dependency in example/package.json was bumped to 0.85.0, but the @react-native/babel-preset, @react-native/metro-config, and @react-native/typescript-config devDependencies (lines 21-23) are still at 0.75.3. These packages are versioned in lock-step with react-native and must be updated to match. Additionally, react-native 0.85.0 may require a newer version of React (likely React 19.x instead of the current 18.3.1 on line 14). All of these dependencies should be updated together to maintain compatibility. Check the react-native 0.85.0 release notes or its peer dependency requirements to determine the correct versions for all related packages.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

},
"devDependencies": {
"@babel/core": "^7.20.0",
Expand Down
Loading