From 10b515f3bf442ea98ceaa2d8e9694b74943bd6c8 Mon Sep 17 00:00:00 2001 From: Davide Scaini Date: Fri, 24 Apr 2026 11:39:02 +0200 Subject: [PATCH] fix: pin react-dom to 19.1.0 to prevent npm resolving 19.2.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit expo-router@6.0.23 declares react-dom as peerOptional; without an explicit pin npm resolves react-dom@19.2.5 (latest) which conflicts with react@19.1.0. The SDK 54 template pins both to 19.1.0 — mirroring that here. --- mobile/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/package.json b/mobile/package.json index 9db30ae..ce885cf 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -23,6 +23,7 @@ "expo-splash-screen": "~31.0.13", "expo-status-bar": "~3.0.9", "react": "19.1.0", + "react-dom": "19.1.0", "react-native": "0.81.5", "react-native-safe-area-context": "~5.6.0", "react-native-screens": "~4.16.0",