Skip to content

Remove TextInlineImageNativeComponent in JS#55434

Closed
NickGerleman wants to merge 1 commit intofacebook:mainfrom
NickGerleman:export-D92481981
Closed

Remove TextInlineImageNativeComponent in JS#55434
NickGerleman wants to merge 1 commit intofacebook:mainfrom
NickGerleman:export-D92481981

Conversation

@NickGerleman
Copy link
Contributor

Summary:
This is used by Image, to render a different component when under a TextAncestorContext, but the underlying component is remapped by Fabric to instead be interpreted as Image. We can delete the code JS side safely, since it will use the existing registered View manager, Fabric will already redirect to. We can also then delete the redirection in Fabric, since the component is no longer ever used.

See componentNameByReactViewName.cpp, where this is also removed.

Changelog: [Internal]

Differential Revision: D92481981

@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 Feb 6, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 6, 2026

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

Copy link
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 6, 2026
Summary:

This is used by `Image`, to render a different component when under a `TextAncestorContext`, but the underlying component is remapped by Fabric to instead be interpreted as `Image`. We can delete the code JS side safely, since it will use the existing registered View manager, Fabric will already redirect to. We can also then delete the redirection in Fabric, since the component is no longer ever used.

See `componentNameByReactViewName.cpp`, where this is also removed. 

Changelog: [Internal]

Reviewed By: mdvacca, javache, cortinico

Differential Revision: D92481981
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 8, 2026
Summary:

This is used by `Image`, to render a different component when under a `TextAncestorContext`, but the underlying component is remapped by Fabric to instead be interpreted as `Image`. We can delete the code JS side safely, since it will use the existing registered View manager, Fabric will already redirect to. We can also then delete the redirection in Fabric, since the component is no longer ever used.

See `componentNameByReactViewName.cpp`, where this is also removed. 

Changelog: [Internal]

Reviewed By: mdvacca, javache, cortinico

Differential Revision: D92481981
@NickGerleman NickGerleman force-pushed the export-D92481981 branch 2 times, most recently from af59fe5 to 3782159 Compare February 10, 2026 23:10
Summary:

This is used by `Image`, to render a different component when under a `TextAncestorContext`, but the underlying component is remapped by Fabric to instead be interpreted as `Image`. We can delete the code JS side safely, since it will use the existing registered View manager, Fabric will already redirect to. We can also then delete the redirection in Fabric, since the component is no longer ever used.

See `componentNameByReactViewName.cpp`, where this is also removed. 

Changelog: [Internal]

Reviewed By: mdvacca, javache, cortinico

Differential Revision: D92481981
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @NickGerleman in 3618224

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 14, 2026
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 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.

4 participants