Skip to content

Do not export PublicRootInstance and PublicTextInstance #53271

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rubennorte
Copy link
Contributor

Summary:
Changelog: [internal]

These types aren't used in react-native at the moment. They are only relevant when enabling the DOM APIs, which haven't been enabled in OSS yet.

Differential Revision: D80254441

@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 Aug 14, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80254441

@react-native-bot
Copy link
Collaborator

react-native-bot commented Aug 14, 2025


Warnings
⚠️ ❗ JavaScript API change detected - This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API. Please include a clear changelog message. This change will be subject to extra review.

This change was flagged as: BREAKING

Generated by 🚫 dangerJS against d1bfd75

)

Summary:

Changelog: [internal]

`VirtualView` has been exposed as an unstable API in the `react-native` package but its public API is referencing the DOM APIs, which forces their definitions to also be public (but shouldn't because they haven't been released yet).

This replaces the reference with a reference to `HostInstance`, which will be updated to reference the DOM APIs when ready.

Differential Revision: D80254442
Summary:

Changelog: [internal]

These types aren't used in `react-native` at the moment. They are only relevant when enabling the DOM APIs, which haven't been enabled in OSS yet.

Differential Revision: D80254441
rubennorte added a commit to rubennorte/react-native that referenced this pull request Aug 14, 2025
Summary:

Changelog: [internal]

These types aren't used in `react-native` at the moment. They are only relevant when enabling the DOM APIs, which haven't been enabled in OSS yet.

Differential Revision: D80254441
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80254441

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. fb-exported p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants