Skip to content

Migrate remaining internal deep imports (#58589) - #58589

Closed
rubennorte wants to merge 5 commits into
react:mainfrom
rubennorte:export-D120679643
Closed

rubennorte wants to merge 5 commits into
react:mainfrom
rubennorte:export-D120679643

Conversation

@rubennorte

@rubennorte rubennorte commented Sep 18, 2026

Copy link
Copy Markdown
Member

Summary:

Remove React Native implementation-path imports that are outside the exported GitHub Flow graph but remain visible to the fbsource Flow project.

Changelog: [Internal]


Reviewed By: cipolleschi

Differential Revision: D120679643

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

meta-codesync Bot commented Sep 18, 2026

Copy link
Copy Markdown

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

rubennorte and others added 5 commits September 18, 2026 04:29
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
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]

Differential Revision: D120537584
Summary:
Migrate the remaining Flow-visible deep imports in React Native tests. Use public DOM globals where their types are sufficient, and use relative imports for implementation-specific helpers, observer types, and native specs that are not publicly exported.

Changelog: [Internal]

Differential Revision: D120537585
Summary:
Pull Request resolved: react#58589

Remove React Native implementation-path imports that are outside the exported GitHub Flow graph but remain visible to the fbsource Flow project.

Changelog: [Internal]

___

Reviewed By: cipolleschi

Differential Revision: D120679643
@meta-codesync meta-codesync Bot changed the title Migrate remaining internal deep imports Migrate remaining internal deep imports (#58589) Sep 18, 2026
@meta-codesync meta-codesync Bot closed this in 7d136d6 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 7d136d6.

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