Repository navigation
Description
Description
The Bridgeless Architecture in React Native 0.74 and later introduces significant performance issues, particularly for apps with complex logic and high demands for UI responsiveness. Here are the main concerns:
Key Issues
1. Screen Load Times
- Problem: Synchronous communication with the native runtime slows down screen loading, particularly when multiple API calls are made.
- Impact: Initial loads are bottlenecked, reducing overall app responsiveness.
2. UI Responsiveness and Touch Lag
- Problem: The switch to synchronous communication impacts touch response, causing a laggy and less fluid user experience.
- Result: Reduced interaction quality and increased user frustration.
3. Lazy Module Loading
- Default Behavior: Bridgeless architecture loads modules lazily by default, contributing to delayed responses in complex pages.
- Partial Fix: Disabling lazy loading improves response slightly but doesn’t fully solve the underlying delay issues.
Comparative Performance with Older Versions
- Testing Results:
- React Native 0.71.8 (asynchronous bridge): Modal with 32 API calls loads in approximately 3 seconds.
- React Native 0.74.x / 0.76.1 (bridgeless): Modal with only 14 API calls takes over 10 seconds.
Attempts to Improve Performance
- Native Threads & Configuration Adjustments: Shifting API calls to native threads, and enabling/disabling options like Hermes and New Architecture, failed to yield significant performance improvements.
Call for Optimizations
The React Native community and core team are urged to provide optimizations or alternative solutions to enhance performance under the bridgeless architecture.
Feedback Needed: Community support and solutions for the architectural limitations causing these performance issues.
Steps to reproduce
- Create a page/modal with 10-30 API calls.
- Test in React Native 0.74.x or later (Bridgeless).
- Measure load time and UI responsiveness.
- Compare with 0.71.8 (Async Bridge).
Expected: Slower performance in the bridgeless versions.
React Native Version
0.74+
Affected Platforms
Runtime - Android, Runtime - iOS
Areas
Bridgeless - The New Initialization Flow, Other (please specify)
Output of npx react-native info
System:
OS: macOS 14.5
CPU: (8) arm64 Apple M1
Memory: 206.23 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.14.0
path: /usr/local/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 10.7.0
path: /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK: Not Found
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode:
version: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.11
path: /usr/bin/javac
Ruby:
version: 2.7.4
path: /Users/santhoshkumarvgds/.rvm/rubies/ruby-2.7.4/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.0
wanted: ^15.0.0
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.1
wanted: ^0.76.0
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: false
Stacktrace or Logs
The issue occurs when multiple API calls are made on initial screen load. The app becomes unresponsive and takes significantly longer to load the screen. Despite attempts to optimize by disabling lazy loading and using native threads, the issue persists. No crash or stack trace is generated, but the app's performance degrades considerably.
Reproducer
Reproducer: Unfortunately, I cannot provide a public repository or Expo Snack at this time. Please let me know if you would like further details or an isolated example of the issue.
Screenshots and Videos
No response
Activity
react-native-bot commentedon Nov 7, 2024
Warning
Could not parse version: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.76.2.
react-native-bot commentedon Nov 7, 2024
Warning
Could not parse version: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.76.2.
react-native-bot commentedon Nov 7, 2024
Warning
Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:
cortinico commentedon Nov 7, 2024
Yes we would need an isolated reproducer to look into this.
arasrezaei commentedon Nov 7, 2024
I agree, there are lots of lags and crashes.
When I turn newArch off, the app is much smoother
lovegaoshi commentedon Nov 10, 2024
i know this isnt particularly helpful to most others, but i also oberved performance degradation when migrating my app to bridgeless. my sprcific issue is react-navigation drawer opening is particularly choppy and wont switch screens completely. this is not exactly the rn teams fault, but the general DX/UX of our apps are still impacted
JustJoostNL commentedon Nov 13, 2024
@lovegaoshi did you manage to fix that choppy drawer animation? The new architecture heavily slows down my app, is there any timeline for fixing this?
lovegaoshi commentedon Nov 13, 2024
YasinAkimura commentedon Nov 14, 2024
I can also confirm that the new arch is causing a few performance issues regarding responsiveness,
and I think react-navigation / expo-router are not ready for the new arch yet.
I can notice a significant lag in catching touch events when doing things quickly which may indicate the blocking nature of synchronous events?
Also a few bugs where Views seem to always fade / animate when layout changes or Text with adjustToFitSize and "unacceptable" lineHeight completely bug out but these are different issues.
114 remaining items
react-native-bot commentedon Apr 20, 2025
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.
fardad-dev commentedon Apr 20, 2025
Don't close.
evelant commentedon Jun 4, 2025
I just released my app with the new arch enabled on expo 53 and rn 0.79.2 and now have users complaining of poor performance. I know that's not very helpful information, our app is quite complex and I haven't found potential causes yet, but it's at least another data point that there may still be issues with perf on the new arch.
genesiscz commentedon Jun 4, 2025
Similar for our upgrade from 0.72 -> 0.77 + new arch :(
mobinni commentedon Jun 5, 2025
What data-fetching library do you all use? @genesiscz @evelant I have noticed that when doing fetch the timing between resolution and render is pretty bad. A network request that resolves in 200ms takes over 1 second to fully render 🤔 our app is fairly complex and has some network waterfall combined with expensive components to render but even then it seems a bit aggressive. We use apollo / sentry
genesiscz commentedon Jun 5, 2025
Redux sagas, rtk query and lately react query - all of them using fetch wrapped with OpenApi generated TS packages. It's a hell :) and we also log with sentry and AppDynamics
Rodrigo816 commentedon Jun 5, 2025
How you make that cool metrics?
genesiscz commentedon Jun 11, 2025
Xcode -> Window -> Organizer
I literally got notification about the Regression from production
pleerock commentedon Jun 11, 2025
From my observations, the huge performance difference is visible when you have LOT OF components rendered in the tree.
For those who have time to create a reproduction repo - just try to create 10k views (using for-loop) with any text inside (even a single character) in a single scroll list. Then check how it works in old vs new arch. Share the repo and results.
evelant commentedon Jun 30, 2025
Possibly related:
#51869
#50731
cortinico commentedon Sep 10, 2025
We're closing this as this issue is quite old. We invite everyone to try 0.81 which contains several performance improvements especially for New Arch.
If you encounter other performance regression, please open a new issue with a reproducer and we'll be happy to investigate.