Skip to content

Fix cell ref stability regression coverage (#60510) - #60510

Merged
meta-codesync[bot] merged 1 commit into
react:mainfrom
javache:export-D135929884
Dec 4, 2026
Merged

meta-codesync[bot] merged 1 commit into
react:mainfrom
javache:export-D135929884

Conversation

@javache

@javache javache commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Observe writes to both the cell ref map and each ref object's current value so the regression test detects detach/re-attach churn with either representation. Require current to hold a CellRenderer instance rather than accepting undefined.

Changelog: [Internal]

Differential Revision: D135929884

@meta-codesync

meta-codesync Bot commented Dec 3, 2026

Copy link
Copy Markdown

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

Summary:

Observe writes to both the cell ref map and each ref object's `current` value so the regression test detects detach/re-attach churn with either representation. Require `current` to hold a `CellRenderer` instance rather than accepting `undefined`.

Changelog: [Internal]

Differential Revision: D135929884




Signed-off-by: Pieter De Baets <pieterdb@meta.com>
@meta-codesync meta-codesync Bot changed the title Fix cell ref stability regression coverage Fix cell ref stability regression coverage (#60510) Dec 3, 2026

@christophpurrer christophpurrer left a comment

Copy link
Copy Markdown
Contributor

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.

@meta-codesync
meta-codesync Bot merged commit 2a9a614 into react:main Dec 4, 2026
103 of 106 checks passed
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @javache in 2a9a614

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 Dec 4, 2026
@javache
javache deleted the export-D135929884 branch December 4, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged This PR has been merged. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants