Skip to content

Remove deprecated Libraries/ReactPrivate forwarding modules - #57766

Open
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D114055938
Open

Remove deprecated Libraries/ReactPrivate forwarding modules#57766
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D114055938

Conversation

@huntie

@huntie huntie commented Jul 30, 2026

Copy link
Copy Markdown
Member

Summary:

Note

Requires landing after next React sync into React Native. Exported as a future reference.

Cleanup: The react-private-interface entry point (D111231527) now provides the private contract between React and React Native that Libraries/ReactPrivate/ (deprecated) forwarded to. We can now delete.

Changes

  • Delete Libraries/ReactPrivate/ReactNativePrivateInterface.js, ReactNativePrivateInitializeCore.js, and their .flow/README files.
  • Update internal module references to point to source modules.
  • Update xplat/js references to use new private entry point.

Changelog: [Internal]

Differential Revision: D114055938

Summary:
NOTE: Requires landing **after next React sync into React Native**. Exported as a future reference.

**Cleanup**: The `react-private-interface` entry point (D111231527) now provides the private contract between React and React Native that `Libraries/ReactPrivate/` (deprecated) forwarded to. We can now delete.

**Changes**

- Delete `Libraries/ReactPrivate/` — `ReactNativePrivateInterface.js`, `ReactNativePrivateInitializeCore.js`, and their `.flow`/`README` files.
- Update internal module references to point to source modules.
- Update xplat/js references to use new private entry point.

Changelog: [Internal]

Differential Revision: D114055938
@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 30, 2026
@meta-codesync

meta-codesync Bot commented Jul 30, 2026

Copy link
Copy Markdown

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

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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant