-
Notifications
You must be signed in to change notification settings - Fork 4.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
Migrate to React Native's New Architecture #53360
Comments
Noting that |
Regarding the dependencies not supporting yet the new architecture, starting in RN 0.72 we could use the feature New Renderer Interop Layer as a workaround.
|
react-native-safe-area I would recommend replacing it with |
Hey! We at Software Mansion have been working on improving support for the New Architecture for quite a while now. With React Native 0.76 having the New Architecture enabled by default just around the corner, it seems like a high time to migrate! Would you be interested in collaboration on that topic? |
Hey @WoLewicki! 👋🏻 Thanks for reaching out. The mobile variant of the Gutenberg block editor is open source and under a GPL license. We welcome contributions to the code base, as well as contributions to other parts of the WordPress project/community. In regards to collaboration with current contributors, we agree that migrating to the New Architecture is important. However, we are currently focused on some R&D regarding the mobile editing experience at this time. We do not plan to prioritize addressing this specific issue at this time. Please feel free to continue sharing thoughts on this issue or join the #mobile WordPress Slack channel. Community members are happy to discuss ideas, plans, and contributions. Thanks! |
This issues tracks various tasks to upgrade third-party dependencies for the native mobile editor. The following tasks could likely be addressed individually as miniature projects.
What problem does this address?
React Native’s New Architecture could provide performance benefits (e.g. JSI) and may eventually be required for future React Native upgrades or compatibility with third-party dependencies.
What is your proposed solution?
Some prerequisite items may already have been completed (but have not been verified as complete), while some items may require a significant amount of work. If you can verify that an item is complete or would like to tackle an item, feel free to assign yourself and mark it off the list.
Prerequisites for Supporting the New Architecture in JavaScript
Enabling in an Android Library
Enabling in an iOS Library
Prerequisites for WPiOS
Prerequisites for WPAndroid
Third-Party Dependencies
Each third-party dependency will need to be upgraded to a version with New Architecture support or replaced entirely in this project.
react-native-get-random-values
react-native-safe-area-context
react-native-screens
react-native-svg
react-native-webview
@react-native-masked-view/masked-view
@react-native-clipboard/clipboard
react-native-reanimated
react-native-gesture-handler
react-native-linear-gradient
react-native-prompt-android
react-native-video
@react-native-community/slider
react-native-safe-area
react-native-fast-image
The following table represents the status of each third-party dependency's support for the new React Native architecture.
The text was updated successfully, but these errors were encountered: