Skip to content

Use public imports in Codegen fixtures (#58572) - #58572

Closed
rubennorte wants to merge 3 commits into
react:mainfrom
rubennorte:export-D120537584
Closed

rubennorte wants to merge 3 commits into
react:mainfrom
rubennorte:export-D120537584

Conversation

@rubennorte

@rubennorte rubennorte commented Sep 17, 2026

Copy link
Copy Markdown
Member

Summary:

Migrate Codegen and compatibility fixtures from React Native deep imports to the public react-native entry point. Reference codegen-only types through the exported CodegenTypes namespace.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D120537584

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

meta-codesync Bot commented Sep 17, 2026

Copy link
Copy Markdown

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

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

Migrate Codegen and compatibility fixtures from React Native deep imports to the public `react-native` entry point. Reference codegen-only types through the exported `CodegenTypes` namespace.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D120537584
@meta-codesync meta-codesync Bot changed the title Use public imports in Codegen fixtures Use public imports in Codegen fixtures (#58572) Sep 17, 2026
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 18, 2026
Summary:
Pull Request resolved: react#58572

Migrate Codegen and compatibility fixtures from React Native deep imports to the public `react-native` entry point. Reference codegen-only types through the exported `CodegenTypes` namespace.

Changelog: [Internal]

Reviewed By: christophpurrer

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

Migrate Codegen and compatibility fixtures from React Native deep imports to the public `react-native` entry point. Reference codegen-only types through the exported `CodegenTypes` namespace.

Changelog: [Internal]

Reviewed By: christophpurrer

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

Migrate Codegen and compatibility fixtures from React Native deep imports to the public `react-native` entry point. Reference codegen-only types through the exported `CodegenTypes` namespace.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D120537584
Summary:
Replace eligible React Native deep imports in Fantom tests with package exports, Fantom APIs, DOM globals, and types derived from exported symbols. Keep implementation-specific imports where the public surface does not expose equivalent behavior or compatible Flow types.

Changelog: [Internal]

Differential Revision: D120517166
Summary:
Replace Fantom test imports of internal Event, EventTarget, AbortController, and feature flag modules with supported exports and global DOM APIs. Add the missing static Event phase constants to the DOM Flow declarations so constructor constants remain typed, and route trusted-event coverage through `dispatchNativeEvent`.

Changelog: [Internal]

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

Migrate Codegen and compatibility fixtures from React Native deep imports to the public `react-native` entry point. Reference codegen-only types through the exported `CodegenTypes` namespace.

Changelog: [Internal]

Reviewed By: christophpurrer

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

Migrate Codegen and compatibility fixtures from React Native deep imports to the public `react-native` entry point. Reference codegen-only types through the exported `CodegenTypes` namespace.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D120537584
Summary:
Pull Request resolved: react#58572

Migrate Codegen and compatibility fixtures from React Native deep imports to the public `react-native` entry point. Reference codegen-only types through the exported `CodegenTypes` namespace.

Changelog: [Internal]

Reviewed By: christophpurrer

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

meta-codesync Bot commented Sep 18, 2026

Copy link
Copy Markdown

This pull request has been merged in ffbca04.

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