Skip to content

Remove React Native deep imports from Fantom (#58605) - #58605

Closed
rubennorte wants to merge 4 commits into
react:mainfrom
rubennorte:export-D120717572
Closed

rubennorte wants to merge 4 commits into
react:mainfrom
rubennorte:export-D120717572

Conversation

@rubennorte

@rubennorte rubennorte commented Sep 19, 2026

Copy link
Copy Markdown
Member

Summary:

Use global DOM APIs, supported React Native entry points, and package-relative implementation imports throughout Fantom. Use the renderer-only private interface for the existing public-instance conversion helpers instead of importing Node internals.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717572

@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 Sep 19, 2026
@meta-codesync

meta-codesync Bot commented Sep 19, 2026

Copy link
Copy Markdown

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

rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58605

Use global DOM APIs, supported React Native entry points, and package-relative implementation imports throughout Fantom. Use the renderer-only private interface for the existing public-instance conversion helpers instead of importing Node internals.

Changelog: [Internal]

Differential Revision: D120717572
@meta-codesync meta-codesync Bot changed the title Remove React Native deep imports from Fantom Remove React Native deep imports from Fantom (#58605) Sep 21, 2026
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58605

Use global DOM APIs, supported React Native entry points, and package-relative implementation imports throughout Fantom. Use the renderer-only private interface for the existing public-instance conversion helpers instead of importing Node internals.

Changelog: [Internal]

Differential Revision: D120717572
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58605

Use global DOM APIs, supported React Native entry points, and package-relative implementation imports throughout Fantom. Use the renderer-only private interface for the existing public-instance conversion helpers instead of importing Node internals.

Changelog: [Internal]

Differential Revision: D120717572
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58605

Use global DOM APIs, supported React Native entry points, and package-relative implementation imports throughout Fantom. Use the renderer-only private interface for the existing public-instance conversion helpers instead of importing Node internals.

Changelog: [Internal]

Differential Revision: D120717572
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58605

Use global DOM APIs, supported React Native entry points, and package-relative implementation imports throughout Fantom. Use the renderer-only private interface for the existing public-instance conversion helpers instead of importing Node internals.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717572
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58605

Use global DOM APIs, supported React Native entry points, and package-relative implementation imports throughout Fantom. Use the renderer-only private interface for the existing public-instance conversion helpers instead of importing Node internals.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717572
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58605

Use global DOM APIs, supported React Native entry points, and package-relative implementation imports throughout Fantom. Use the renderer-only private interface for the existing public-instance conversion helpers instead of importing Node internals.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717572
Summary:
Expose the renderer proxy as `Renderer` from `react-native/unstable-internals-do-not-use`. Generated Codegen modules can be emitted into consumer packages and need a package entry point for dispatching renderer commands without deep imports.

Changelog: [Internal]

Differential Revision: D120991150
Summary:
Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Differential Revision: D120717568
Summary:
Generate view configs and Codegen fixtures using supported React Native entry points or values derived from their exports. Generated view config modules can be emitted into arbitrary consumer package locations, so they cannot use a package-relative path back into React Native. Keep `ConditionallyIgnoredEventHandlers` centralized and expose it from the explicitly unstable compatibility entry point instead of duplicating its platform-specific semantics in generated output.

Changelog: [Internal]

Differential Revision: D120717571
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58605

Use global DOM APIs, supported React Native entry points, and package-relative implementation imports throughout Fantom. Use the renderer-only private interface for the existing public-instance conversion helpers instead of importing Node internals.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717572
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58605

Use global DOM APIs, supported React Native entry points, and package-relative implementation imports throughout Fantom. Use the renderer-only private interface for the existing public-instance conversion helpers instead of importing Node internals.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717572
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58605

Use global DOM APIs, supported React Native entry points, and package-relative implementation imports throughout Fantom. Use the renderer-only private interface for the existing public-instance conversion helpers instead of importing Node internals.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717572
Summary:
Pull Request resolved: react#58605

Use global DOM APIs, supported React Native entry points, and package-relative implementation imports throughout Fantom. Use the renderer-only private interface for the existing public-instance conversion helpers instead of importing Node internals.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717572
@meta-codesync meta-codesync Bot closed this in d6adb9f Sep 21, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Sep 21, 2026
@meta-codesync

meta-codesync Bot commented Sep 21, 2026

Copy link
Copy Markdown

This pull request has been merged in d6adb9f.

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