Skip to content

(AI Generated) [RN][Android] Merge ReactTextAnchorViewManager into ReactTextViewManager#55466

Open
NickGerleman wants to merge 1 commit intofacebook:mainfrom
NickGerleman:export-D92635681
Open

(AI Generated) [RN][Android] Merge ReactTextAnchorViewManager into ReactTextViewManager#55466
NickGerleman wants to merge 1 commit intofacebook:mainfrom
NickGerleman:export-D92635681

Conversation

@NickGerleman
Copy link
Contributor

Summary:
ReactTextAnchorViewManager was only extended by ReactTextViewManager, and its
methods directly assumed the instantiated class was a ReactTextViewManager.
This change eliminates the unnecessary inheritance hierarchy by merging
ReactTextAnchorViewManager's functionality directly into ReactTextViewManager.

ReactTextViewManager now extends BaseViewManager directly and contains all the
prop setters (border, text, selection, etc.) that were previously in
ReactTextAnchorViewManager.

Changelog: [Internal]

Differential Revision: D92635681

…actTextViewManager

Summary:
ReactTextAnchorViewManager was only extended by ReactTextViewManager, and its
methods directly assumed the instantiated class was a ReactTextViewManager.
This change eliminates the unnecessary inheritance hierarchy by merging
ReactTextAnchorViewManager's functionality directly into ReactTextViewManager.

ReactTextViewManager now extends BaseViewManager directly and contains all the
prop setters (border, text, selection, etc.) that were previously in
ReactTextAnchorViewManager.

Changelog: [Internal]

Differential Revision: D92635681
@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 8, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 8, 2026

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

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 meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants