fix(app): keep React aligned with native renderer

This commit is contained in:
Mohamed Boudra
2026-05-21 12:44:19 +07:00
parent e630e205db
commit a837d3e5d1
3 changed files with 8 additions and 27 deletions

View File

@@ -38,6 +38,10 @@ npx cross-env APP_VARIANT=production expo run:android --variant=release
rm -rf android
```
### React version lockstep
Keep `react` and `react-dom` pinned to the React version embedded by the current `react-native` release. React Native `0.81.x` embeds `react-native-renderer` `19.1.0`, so `packages/app` must use React `19.1.0`. Bumping React to a newer patch can build successfully but crash at JS startup on Android with `Incompatible React versions`, leaving the app on the native splash screen.
## Screenshots
```bash