Remove deep imports from generated Codegen modules (#58603) - #58603
Open
rubennorte wants to merge 3 commits into
Open
rubennorte wants to merge 3 commits into
rubennorte wants to merge 3 commits into
Conversation
|
@rubennorte has exported this pull request. If you are a Meta employee, you can view the originating Diff in D120717571. |
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 21, 2026
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
force-pushed
the
export-D120717571
branch
from
September 21, 2026 10:01
a736fd0 to
47e97d2
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 21, 2026
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
force-pushed
the
export-D120717571
branch
from
September 21, 2026 10:02
47e97d2 to
cb42642
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 21, 2026
Summary: Pull Request resolved: react#58603 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
force-pushed
the
export-D120717571
branch
from
September 21, 2026 10:06
cb42642 to
d1741dd
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 21, 2026
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
force-pushed
the
export-D120717571
branch
from
September 21, 2026 10:24
d1741dd to
e083e0e
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 21, 2026
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
force-pushed
the
export-D120717571
branch
from
September 21, 2026 10:26
e083e0e to
84eeb95
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 21, 2026
Summary: Pull Request resolved: react#58603 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
force-pushed
the
export-D120717571
branch
2 times, most recently
from
September 21, 2026 11:24
6f02813 to
4e31018
Compare
rubennorte
added a commit
to rubennorte/react-native
that referenced
this pull request
Sep 21, 2026
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#58603 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
force-pushed
the
export-D120717571
branch
from
September 21, 2026 11:29
4e31018 to
90435a0
Compare
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] Reviewed By: cipolleschi 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
force-pushed
the
export-D120717571
branch
from
September 21, 2026 12:00
90435a0 to
0592006
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
ConditionallyIgnoredEventHandlerscentralized 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