Skip to content

Commit af196cd

Browse files
vytickclaude
andcommitted
chore(suite): pin react to 19.2.3 to match react-native 0.85 renderer
The previous commit bumped react-native 0.83.2 -> 0.85.3 (required by Expo SDK 56) but left the react resolution at 19.2.4. React Native bundles its own copy of the React reconciler and asserts at runtime that the installed `react` version exactly equals that bundled renderer: Error: Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. - react: 19.2.4 - react-native-renderer: 19.2.3 RN 0.85.3 syncs React 19.2.3 (confirmed in the bundled ReactFabric-prod.js), so react must be 19.2.3, not 19.2.4. React 19.2.4 is pinned by Expo SDK 56's RN version; there is no 0.85.x release built against 19.2.4. 19.2.4's only change over 19.2.3 is server-side hardening of React Server Components / Flight Reply against DoS (react/react#35632). Trezor Suite is client-only (Electron, web SPA, React Native) with no React server runtime, so nothing functional is lost by the downgrade. Aligns the resolution and all workspace declarations to 19.2.3 (react, react-dom, react-test-renderer). Also bumps react-native-svg 15.15.3 -> 15.15.5: 15.15.4+ adds the RN-version-guarded ImageResponseObserverCoordinator call (shared_ptr instead of dereferenced ref) required for the iOS build on RN 0.85. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4adae7f commit af196cd

146 files changed

Lines changed: 340 additions & 333 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"react-native": "0.85.3",
108108
"type-fest": "5.5.0",
109109
"bcrypto": "5.4.0",
110-
"react": "19.2.4",
110+
"react": "19.2.3",
111111
"electron": "41.3.0",
112112
"@types/node": "22.13.10",
113113
"bn.js": "5.2.3",
@@ -126,8 +126,8 @@
126126
"expo-build-properties": "~56.0.15",
127127
"@types/react": "19.2.14",
128128
"expo-modules-core": "~56.0.13",
129-
"react-dom": "19.2.4",
130-
"react-test-renderer": "19.2.4",
129+
"react-dom": "19.2.3",
130+
"react-test-renderer": "19.2.3",
131131
"expo-modules-core@npm:~56.0.13": "patch:expo-modules-core@npm%3A56.0.13#~/.yarn/patches/expo-modules-core-npm-56.0.13-6a0e36c09c.patch"
132132
},
133133
"devDependencies": {

packages/analytics-docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"@trezor/utils": "workspace:*",
2222
"@vitejs/plugin-react": "^6.0.1",
2323
"date-fns": "^4.1.0",
24-
"react": "19.2.4",
25-
"react-dom": "19.2.4",
24+
"react": "19.2.3",
25+
"react-dom": "19.2.3",
2626
"styled-components": "^6.3.9",
2727
"ts-morph": "^27.0.2",
2828
"vite": "^8.0.7",

packages/components/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
"date-fns": "^4.1.0",
3232
"framer-motion": "^12.33.0",
3333
"lottie-react": "2.4.1",
34-
"react": "19.2.4",
34+
"react": "19.2.3",
3535
"react-date-range": "^2.0.1",
36-
"react-dom": "19.2.4",
36+
"react-dom": "19.2.3",
3737
"react-focus-lock": "^2.13.7",
3838
"react-intl": "^8.1.3",
3939
"react-markdown": "^10.1.0",

packages/connect-examples/mobile-expo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"expo": "~56.0.6",
1515
"expo-linking": "~56.0.12",
1616
"expo-status-bar": "~56.0.4",
17-
"react": "19.2.4",
17+
"react": "19.2.3",
1818
"react-native": "0.85.3"
1919
},
2020
"devDependencies": {

packages/connect-explorer-theme/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"peerDependencies": {
2222
"next": ">=15.0.0",
2323
"nextra": "^2.13.4",
24-
"react": "19.2.4",
25-
"react-dom": "19.2.4"
24+
"react": "19.2.3",
25+
"react-dom": "19.2.3"
2626
},
2727
"dependencies": {
2828
"@headlessui/react": "^2.2.10",
@@ -53,8 +53,8 @@
5353
"postcss-cli": "^10.1.0",
5454
"postcss-import": "^16.1.1",
5555
"postcss-lightningcss": "^1.1.0",
56-
"react": "19.2.4",
57-
"react-dom": "19.2.4"
56+
"react": "19.2.3",
57+
"react-dom": "19.2.3"
5858
},
5959
"sideEffects": [
6060
"./src/polyfill.ts"

packages/connect-explorer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"next-themes": "^0.4.6",
3535
"nextra": "patch:nextra@npm%3A2.13.4#~/.yarn/patches/nextra-npm-2.13.4-f23661e7e1.patch",
3636
"nextra-theme-docs": "^2.13.4",
37-
"react": "19.2.4",
38-
"react-dom": "19.2.4",
37+
"react": "19.2.3",
38+
"react-dom": "19.2.3",
3939
"react-inspector": "^6.0.2",
4040
"react-markdown": "^10.1.0",
4141
"react-medium-image-zoom": "^5.4.0",

packages/product-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@trezor/type-utils": "workspace:*",
3636
"@trezor/utils": "workspace:*",
3737
"framer-motion": "^12.33.0",
38-
"react": "19.2.4",
38+
"react": "19.2.3",
3939
"react-hook-form": "^7.71.2",
4040
"react-intl": "^8.1.3",
4141
"react-svg": "16.4.2",

packages/react-utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"@trezor/type-utils": "workspace:*",
1616
"@trezor/utils": "workspace:*",
1717
"date-fns": "^4.1.0",
18-
"react": "19.2.4"
18+
"react": "19.2.3"
1919
},
2020
"devDependencies": {
2121
"@testing-library/react": "^16.3.2",
2222
"@types/react": "19.2.14",
23-
"react-dom": "19.2.4"
23+
"react-dom": "19.2.3"
2424
}
2525
}

packages/styles-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
"dependencies": {
1515
"@trezor/theme": "workspace:*",
1616
"polished": "^4.3.1",
17-
"react": "19.2.4"
17+
"react": "19.2.3"
1818
}
1919
}

packages/styles-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"fela-native": "^12.2.1",
1818
"fela-plugin-extend": "^12.2.1",
1919
"polished": "^4.3.1",
20-
"react": "19.2.4",
20+
"react": "19.2.3",
2121
"react-fela": "^12.2.1",
2222
"react-native": "0.85.3"
2323
}

0 commit comments

Comments
 (0)