Skip to content

Expose react-private-interface subpath (#57495)#57495

Closed
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D111231527
Closed

Expose react-private-interface subpath (#57495)#57495
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D111231527

Conversation

@huntie

@huntie huntie commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary:

See RFC0894: Removing deep imports from react-native

Exposes a 'react-native/react-private-interface' subpath export on the main package, to replace Libraries/ReactPrivate/ReactNativePrivateInterface.js.

Impact: Internal

This is a private contract between react and react-native.

  • ReactNativePrivateInterface is deprecated and we'll migrate React call sites in a future version before cleanup.

Naming

Translate directly to react-private-interface ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 9, 2026
@meta-codesync

meta-codesync Bot commented Jul 9, 2026

Copy link
Copy Markdown

@huntie has exported this pull request. If you are a Meta employee, you can view the originating Diff in D111231527.

@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Jul 9, 2026
@meta-codesync meta-codesync Bot changed the title Expose react-private-interface subpath Expose react-private-interface subpath (#57495) Jul 9, 2026
@huntie huntie force-pushed the export-D111231527 branch from ab5e00e to d32fdda Compare July 9, 2026 13:38
huntie added a commit to huntie/react-native that referenced this pull request Jul 9, 2026
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
huntie added a commit to huntie/react-native that referenced this pull request Jul 9, 2026
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
@huntie huntie force-pushed the export-D111231527 branch from d32fdda to 6847069 Compare July 9, 2026 14:21
huntie added a commit to huntie/react-native that referenced this pull request Jul 9, 2026
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
@huntie huntie force-pushed the export-D111231527 branch from 6847069 to 1d12b15 Compare July 9, 2026 14:23
huntie added a commit to huntie/react-native that referenced this pull request Jul 9, 2026
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
@huntie huntie force-pushed the export-D111231527 branch from 1d12b15 to 607c2db Compare July 9, 2026 16:42
huntie added a commit to huntie/react-native that referenced this pull request Jul 9, 2026
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
@huntie huntie force-pushed the export-D111231527 branch from 607c2db to 6e47f75 Compare July 9, 2026 16:42
huntie added a commit to huntie/react-native that referenced this pull request Jul 9, 2026
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
huntie added a commit to huntie/react-native that referenced this pull request Jul 9, 2026
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
huntie added a commit to huntie/react-native that referenced this pull request Jul 9, 2026
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
huntie added a commit to huntie/react-native that referenced this pull request Jul 9, 2026
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
@huntie huntie force-pushed the export-D111231527 branch from 6e47f75 to 63a8fba Compare July 10, 2026 12:42
huntie added a commit to huntie/react-native that referenced this pull request Jul 10, 2026
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
huntie added a commit to huntie/react-native that referenced this pull request Jul 10, 2026
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
@huntie huntie force-pushed the export-D111231527 branch from 63a8fba to 628deb3 Compare July 10, 2026 12:48
huntie added a commit to huntie/react-native that referenced this pull request Jul 10, 2026
Summary:

See [**RFC0894: Removing deep imports from react-native**](react-native-community/discussions-and-proposals#894)

Exposes a `'react-native/react-private-interface'` subpath export on the main package, to replace `Libraries/ReactPrivate/ReactNativePrivateInterface.js`.

**Impact: Internal**

This is a private contract between `react` and `react-native`.

- `ReactNativePrivateInterface` is deprecated and we'll migrate React call sites in a future version before cleanup.

**Naming**

Translate directly to `react-private-interface` ("private interface for React"). There's alternatives here but the explicitness and continuity is helpful, I believe.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D111231527
@meta-codesync meta-codesync Bot closed this in b7edeb7 Jul 10, 2026
@meta-codesync

meta-codesync Bot commented Jul 10, 2026

Copy link
Copy Markdown

This pull request has been merged in b7edeb7.

@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Jul 10, 2026
@huntie huntie deleted the export-D111231527 branch July 10, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant