Skip to content

Replace most of the remaining React.AbstractComponent in react-native#47143

Closed
SamChou19815 wants to merge 1 commit into
facebook:mainfrom
SamChou19815:export-D64701145
Closed

Replace most of the remaining React.AbstractComponent in react-native#47143
SamChou19815 wants to merge 1 commit into
facebook:mainfrom
SamChou19815:export-D64701145

Conversation

@SamChou19815
Copy link
Copy Markdown
Contributor

Summary:
In order to adopt react 19's ref-as-prop model, we need to eliminate all the places where they are treated differently. React.AbstractComponent is the worst example of this, and we need to eliminate it.

This diff replaces most of the remaining React.AbstractComponent in react-native.

Reviewed By: alexmckenley

Differential Revision: D64701145

Summary:
In order to adopt react 19's ref-as-prop model, we need to eliminate all the places where they are treated differently. `React.AbstractComponent` is the worst example of this, and we need to eliminate it.

This diff replaces most of the remaining `React.AbstractComponent` in react-native.

Reviewed By: alexmckenley

Differential Revision: D64701145
@facebook-github-bot facebook-github-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 Oct 21, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D64701145

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 723a37c.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Oct 21, 2024
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @SamChou19815 in 723a37c

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

@SamChou19815 SamChou19815 deleted the export-D64701145 branch October 21, 2024 23:05
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. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants