-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Performance Enhancement: Migrate to Modern React Native Architecture 🚀 #8521
base: master
Are you sure you want to change the base?
Performance Enhancement: Migrate to Modern React Native Architecture 🚀 #8521
Conversation
Issue -: #8292 |
Amazing thanks! |
Exactly what I was looking for, thank you 🙏 I hope this gets merged soon!! Great work ❤️ |
Thanks so much for the kind words! I'm hopeful for a merge soon too 💫 |
@mattsoulanille @Linchenn sorry to bother you, but I saw you reviewed previous changes of the RN support (#7451): any chance you can take a look at this one? 🙏 Thanks in advance! 💖 |
Hey guys! this is amazing!! I'm having this issue for a while, any update on this? |
This comment has been minimized.
This comment has been minimized.
Hello, I received an update yesterday regarding the PR: |
Hi,
This PR introduces changes to modernize the React Native architecture, yielding significant improvements in native performance and enabling bridgeless mode compatibility (see https://reactnative.dev/architecture/landing-page#fast-javascriptnative-interfacing for more information). Migrating to these updated packages ensures long-term support, alignment with modern React Native standards, and enhanced performance for future project development.
Package Updates:
react-native-fs
->@dr.pogodin/react-native-fs
: This migration replaces the original package with a version that supports the new React Native architecture and is actively maintained. Refer to the project history and roadmap here: https://github.com/birdofpreyru/react-native-fs?tab=readme-ov-file#project-history--roadmap. An additional benefit is improved tree shaking capabilities.@react-native-async-storage/async-storage
->react-native-mmkv
: This change leverages the new React Native architecture through Turbo Modules, resulting in substantial performance gains.react-native-mmkv
is approximately 25x faster than@react-native-async-storage/async-storage
. Benchmark details can be found here: https://github.com/mrousavy/react-native-mmkv?tab=readme-ov-file#benchmark.Expo Packages: All Expo-related packages have been updated to their latest versions. Importantly,
expo-camera
has been migrated from the legacy (deprecated) version to the new version (expo-camera-next
). This new version uses an improved camera API under the hood. See more details here: https://expo.dev/blog/expo-camera-next#our-goals-for-expo-cameranext.Release Strategy Suggestion:
As for the release, I suggest we can either release this update with a
@beta
tag to allow users to test the changes before the final release or we can update all relevant documentation and introduce this as a breaking change for the next major version. This will give us the flexibility to properly communicate the changes and ensure a smooth upgrade path for the users.Please review these changes and let me know if you identify any issues or potential areas for improvement. Your feedback is greatly appreciated.