Skip to content
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
4 changes: 2 additions & 2 deletions Example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"babel-plugin-module-resolver": "^4.0.0",
"bignumber.js": "^9.0.0",
"chroma-js": "^2.1.0",
"lodash": "^4.17.20",
"lodash": "^4.18.1",
"react": "16.13.1",
"react-coin-icon": "^0.1.19",
"react-native": "0.63.2",
"react-native": "0.69.12",
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 0.69.12 requires React 18 but React is still pinned to 16.13.1

react-native was bumped from 0.63.2 to 0.69.12, but react remains pinned at 16.13.1 (line 17) and react-test-renderer at 16.13.1 (line 36). React Native 0.69.12 has a peer dependency on react: 18.0.0. This version mismatch will cause peer dependency warnings and likely runtime failures, as React Native 0.69 relies on React 18 internals.

Prompt for agents
In Example/package.json, react-native was upgraded to 0.69.12 which requires react 18.0.0 as a peer dependency. The react version on line 17 needs to be updated from 16.13.1 to 18.0.0, and react-test-renderer on line 36 should also be updated to match (18.0.0). Other dependencies like react-native-reanimated (currently ^2.0.0-alpha.7) may also need version bumps to be compatible with React Native 0.69.
Open in Devin Review

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

"react-native-gesture-handler": "^1.7.0",
"react-native-haptic-feedback": "^1.10.0",
"react-native-reanimated": "^2.0.0-alpha.7",
Expand Down
Loading
Loading