-
Notifications
You must be signed in to change notification settings - Fork 24.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heavy Screens take too much time to load (White Screen lag). #50051
Comments
I can understand having something like this just to test performance but not otherwise. |
I'm referring to the white screen that appears during the transition between two screens when the second screen is too heavy. Ignore everything else, including delays caused by packages like Skia and FlashList. Furthermore, I have added a new screen with an EPUB reader from @epubjs-react-native/core, which makes the white screen issue more noticeable. I have also updated the sample repo and attached a screen recording of the issue. Steps to reproduce: 1)Run this dummy repo. **Please ignore all other functionalities, as they are just placeholders. The focus should be solely on the white screen lag during screen-to-screen navigation. whitescreenReproduce.mp4 |
With so many community dependencies, it's hard to know if the problem is in the core of React Native. We should try to reduce the number of dependencies and isolate the problem. |
I faced this issue only when i migrated to new arch. It was working fine in old arch |
Description
Navigating to a screen with heavy components take more time in new arch compared to old arch. I have Custom headers made with skia. I also have a long list made with Flashlist which make it more slower. I have made a dummy repo which can used to reproduce the issue.
Steps to reproduce
React Native Version
0.78.0
Affected Platforms
Runtime - Android, Runtime - iOS
Areas
Fabric - The New Renderer, TurboModule - The New Native Module System, Bridgeless - The New Initialization Flow
Output of
npx @react-native-community/cli info
Stacktrace or Logs
Reproducer
https://github.com/AjayFrancisTechversant/NewArchdummy
Screenshots and Videos
Screen_Recording_20250317-152828_NewArchdummy.mp4
The text was updated successfully, but these errors were encountered: