Skip to content

Correctly propagate prepareToRecycleView return value#49858

Closed
javache wants to merge 1 commit into
facebook:mainfrom
javache:export-D70696246
Closed

Correctly propagate prepareToRecycleView return value#49858
javache wants to merge 1 commit into
facebook:mainfrom
javache:export-D70696246

Conversation

@javache
Copy link
Copy Markdown
Member

@javache javache commented Mar 6, 2025

Summary:
prepareToRecycleView returns nullable, since we may decide a view is not recyclable. We should respect that and return the view returned by super.

Changelog: [Internal]

Reviewed By: fabriziocucci

Differential Revision: D70696246

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Mar 6, 2025
Summary:
`prepareToRecycleView` returns nullable, since we may decide a view is not recyclable. We should respect that and return the view returned by super.

Changelog: [Internal]

Reviewed By: fabriziocucci

Differential Revision: D70696246
@javache javache force-pushed the export-D70696246 branch from ef3a729 to 01de717 Compare March 6, 2025 12:17
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 6, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in c08e16a.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @javache in c08e16a

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

@javache javache deleted the export-D70696246 branch March 7, 2025 14:26
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. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants