The app performance is slower (re-render screens many times) when using Development mode instead with Expo GO?

Hi people,

When I debug the app with Expo GO everything moves very well on the screen. When I debug in “development mode” or build a native preview (eas build --platform android --profile preview) it seems that there is an excess of renderings and at the same time the responses to the events launched by the user are delayed (on pressable components, etc.).

I have updated the react-native package to version 0.72.4 to correct problems with some hook but the result is more or less the same.

Has anyone else found themselves in this situation? If someone can guide me it would help me a lot, I’ve been fighting me for quite some time and I can’t finish solving it.

Thank you very much in advance!

expo-env-info 1.0.5 environment info:
System:
OS: macOS 12.6.1
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.21.3 - /usr/local/bin/node
npm: 6.14.18 - /usr/local/bin/npm
Watchman: 2023.07.10.00 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 23, 26, 27, 28
Build Tools: 28.0.3
System Images: android-24 | Google APIs Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-30 | Google Play Intel x86 Atom, android-31 | Google Play Intel x86_64 Atom
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
npmPackages:
@expo/metro-config: ^0.10.7
expo: ^49.0.0
react: 18.2.0
react-dom: 18.2.0
react-native: ^0.72.4
react-native-web: ~0.19.6
@react-navigation/bottom-tabs: ^6.5.8
@react-navigation/drawer: ^6.6.3
@react-navigation/material-top-tabs: ^6.6.3
@react-navigation/native: ^6.1.7
@react-navigation/native-stack: ^6.9.13
npmGlobalPackages:
eas-cli: 5.1.0
expo-cli: 6.3.10
Expo Workflow: managed

Hi devs,

It seems like a react-navigation bug that is fixed in the next version.

Regards,