Update react-native deep imports for 0.79 compatibility#3498
Merged
krispya merged 1 commit intopmndrs:masterfrom Jul 10, 2025
Merged
Update react-native deep imports for 0.79 compatibility#3498krispya merged 1 commit intopmndrs:masterfrom
krispya merged 1 commit intopmndrs:masterfrom
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 6edd7b0:
|
Member
|
Hi huntie, I'm putting attention back on R3F after a break. Sorry for the delay. I'm not familiar with React Native, but I'll see if I can get a colleague to take a look for me. |
|
LGTM! Expo 53 is out and on react-native 0.79. Expo 52 is on react-native 0.76 so I did not explicitly test with react-native 0.78, however following the change through git blame (facebook/react-native@9a70bc0) shows the same solution used to resolve. Two additional notes:
|
Member
|
Thanks Justin! That's the green flag I was looking for. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
In the incoming React Native 0.79 release, we've converted a number of internal modules to
exportsyntax — affecting usages withrequire(). This PR attempts to update these imports ahead of time, to work with both versions.💡 Secondary note: In a future release, we are intending to omit each of these deep-imported modules from the public API of React Native. There will be a consultation period on opening up new APIs via the root
'react-native'exports — e.g.BlobManagerhere.Test plan
Needs testing. CI should pass for integration with current RN versions.