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 examples/SampleRN42/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"react": "15.4.2",
"react-native": "0.42.3",
"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.

Incompatible React version with upgraded React Native

High Severity

react-native was upgraded from 0.42.3 to 0.69.12, but react remains at 15.4.2. React Native 0.69.x declares react@18.0.0 as a peer dependency. This version mismatch will cause npm peer dependency resolution failures during install, and even if forced, the project will not function at runtime since the React Native internals rely on React 18 APIs not present in React 15. The react-test-renderer at 15.4.2 is similarly incompatible.

Fix in Cursor Fix in Web

"react-native-webview-bridge": "../.."
},
"devDependencies": {
Expand Down