Uh oh!
There was an error while loading. Please reload this page.
Update ReactPrivate and InitializeCore imports (0.87 Strict API) (#36986) (#57753) - #57753
Closed
huntie wants to merge 1 commit into
Closed
Update ReactPrivate and InitializeCore imports (0.87 Strict API) (#36986) (#57753)#57753huntie wants to merge 1 commit into
huntie wants to merge 1 commit into
Conversation
@huntie has exported this pull request. If you are a Meta employee, you can view the originating Diff in D113928305. |
huntie added a commit
to huntie/react-native
that referenced
this pull request
Jul 29, 2026
…ct#36986) (react#57753) Summary: ## Summary Migrate internal `Libraries/` import subpaths from `react-native` to the incoming dedicated entry points in React Native 0.87. **Motivation** See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894) **Changes** The `react-private-interface` entry point has been created explicitly for the private contract between React ↔ React Native, and is 1:1 with the previous `ReactNativePrivateInterface` module. Both of the below `Libraries/` paths still exist, but are deprecated — this is a lagging migration that will enable cleanup in a future RN version. - `react-native/Libraries/Core/InitializeCore` → `react-native/setup-env` [react#57475](react#57475) - `react-native/Libraries/ReactPrivate/ReactNativePrivateInterface` → `react-native/react-private-interface` [react#57495](react#57495) ## Test Plan Flow DiffTrain build for [96fcba90138e9f1a73ee1cc4f79a653ec12fc3a9](react/react@96fcba9) Reviewed By: hoxyq Differential Revision: D113928305
huntie added a commit
to huntie/react-native
that referenced
this pull request
Jul 29, 2026
…ct#36986) (react#57753) Summary: ## Summary Migrate internal `Libraries/` import subpaths from `react-native` to the incoming dedicated entry points in React Native 0.87. **Motivation** See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894) **Changes** The `react-private-interface` entry point has been created explicitly for the private contract between React ↔ React Native, and is 1:1 with the previous `ReactNativePrivateInterface` module. Both of the below `Libraries/` paths still exist, but are deprecated — this is a lagging migration that will enable cleanup in a future RN version. - `react-native/Libraries/Core/InitializeCore` → `react-native/setup-env` [react#57475](react#57475) - `react-native/Libraries/ReactPrivate/ReactNativePrivateInterface` → `react-native/react-private-interface` [react#57495](react#57495) ## Test Plan Flow DiffTrain build for [96fcba90138e9f1a73ee1cc4f79a653ec12fc3a9](react/react@96fcba9) Reviewed By: hoxyq Differential Revision: D113928305
huntie added a commit
to huntie/react-native
that referenced
this pull request
Jul 29, 2026
…ct#36986) (react#57753) Summary: ## Summary Migrate internal `Libraries/` import subpaths from `react-native` to the incoming dedicated entry points in React Native 0.87. **Motivation** See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894) **Changes** The `react-private-interface` entry point has been created explicitly for the private contract between React ↔ React Native, and is 1:1 with the previous `ReactNativePrivateInterface` module. Both of the below `Libraries/` paths still exist, but are deprecated — this is a lagging migration that will enable cleanup in a future RN version. - `react-native/Libraries/Core/InitializeCore` → `react-native/setup-env` [react#57475](react#57475) - `react-native/Libraries/ReactPrivate/ReactNativePrivateInterface` → `react-native/react-private-interface` [react#57495](react#57495) ## Test Plan Flow DiffTrain build for [96fcba90138e9f1a73ee1cc4f79a653ec12fc3a9](react/react@96fcba9) Reviewed By: hoxyq Differential Revision: D113928305
huntie added a commit
to huntie/react-native
that referenced
this pull request
Jul 29, 2026
…ct#36986) (react#57753) Summary: ## Summary Migrate internal `Libraries/` import subpaths from `react-native` to the incoming dedicated entry points in React Native 0.87. **Motivation** See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894) **Changes** The `react-private-interface` entry point has been created explicitly for the private contract between React ↔ React Native, and is 1:1 with the previous `ReactNativePrivateInterface` module. Both of the below `Libraries/` paths still exist, but are deprecated — this is a lagging migration that will enable cleanup in a future RN version. - `react-native/Libraries/Core/InitializeCore` → `react-native/setup-env` [react#57475](react#57475) - `react-native/Libraries/ReactPrivate/ReactNativePrivateInterface` → `react-native/react-private-interface` [react#57495](react#57495) ## Test Plan Flow DiffTrain build for [96fcba90138e9f1a73ee1cc4f79a653ec12fc3a9](react/react@96fcba9) Reviewed By: hoxyq Differential Revision: D113928305
huntie added a commit
to huntie/react-native
that referenced
this pull request
Jul 29, 2026
…ct#36986) (react#57753) Summary: ## Summary Migrate internal `Libraries/` import subpaths from `react-native` to the incoming dedicated entry points in React Native 0.87. **Motivation** See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894) **Changes** The `react-private-interface` entry point has been created explicitly for the private contract between React ↔ React Native, and is 1:1 with the previous `ReactNativePrivateInterface` module. Both of the below `Libraries/` paths still exist, but are deprecated — this is a lagging migration that will enable cleanup in a future RN version. - `react-native/Libraries/Core/InitializeCore` → `react-native/setup-env` [react#57475](react#57475) - `react-native/Libraries/ReactPrivate/ReactNativePrivateInterface` → `react-native/react-private-interface` [react#57495](react#57495) ## Test Plan Flow DiffTrain build for [96fcba90138e9f1a73ee1cc4f79a653ec12fc3a9](react/react@96fcba9) Reviewed By: hoxyq Differential Revision: D113928305
…ct#36986) (react#57753) Summary: ## Summary Migrate internal `Libraries/` import subpaths from `react-native` to the incoming dedicated entry points in React Native 0.87. **Motivation** See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894) **Changes** The `react-private-interface` entry point has been created explicitly for the private contract between React ↔ React Native, and is 1:1 with the previous `ReactNativePrivateInterface` module. Both of the below `Libraries/` paths still exist, but are deprecated — this is a lagging migration that will enable cleanup in a future RN version. - `react-native/Libraries/Core/InitializeCore` → `react-native/setup-env` [react#57475](react#57475) - `react-native/Libraries/ReactPrivate/ReactNativePrivateInterface` → `react-native/react-private-interface` [react#57495](react#57495) ## Test Plan Flow DiffTrain build for [96fcba90138e9f1a73ee1cc4f79a653ec12fc3a9](react/react@96fcba9) Reviewed By: hoxyq Differential Revision: D113928305
This pull request has been merged in fa0e675. |
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 freeto 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:
Summary
Migrate internal
Libraries/import subpaths fromreact-nativeto theincoming dedicated entry points in React Native 0.87.
Motivation
See RFC0894: Removing deep imports from
react-native
Changes
The
react-private-interfaceentry point has been created explicitlyfor the private contract between React ↔ React Native, and is 1:1 with
the previous
ReactNativePrivateInterfacemodule.Both of the below
Libraries/paths still exist, but are deprecated —this is a lagging migration that will enable cleanup in a future RN
version.
react-native/Libraries/Core/InitializeCore→react-native/setup-envreact/react-native#57475
react-native/Libraries/ReactPrivate/ReactNativePrivateInterface→react-native/react-private-interfacereact/react-native#57495
Test Plan
Flow
DiffTrain build for 96fcba90138e9f1a73ee1cc4f79a653ec12fc3a9
Reviewed By: hoxyq
Differential Revision: D113928305