Skip to content

add view culling tests when flattetning and deleting a subtree#50860

Closed
sammy-SC wants to merge 2 commits into
facebook:mainfrom
sammy-SC:export-D73493001
Closed

add view culling tests when flattetning and deleting a subtree#50860
sammy-SC wants to merge 2 commits into
facebook:mainfrom
sammy-SC:export-D73493001

Conversation

@sammy-SC
Copy link
Copy Markdown
Contributor

Summary:
changelog: [internal]

Adding a test case verifying branch of code starting in Differentiator:855

Without using adjustedOldCullingContext in the branch, it leads to a crash on StubViewTree:177: trying to remove view that does not exist.

Differential Revision: D73493001

@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 Apr 23, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

…ook#50860)

Summary:
Pull Request resolved: facebook#50860

changelog: [internal]

Adding a test case verifying branch of code starting in [Differentiator:855](https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/mounting/Differentiator.cpp#L855)

Without using `adjustedOldCullingContext` in the branch, it leads to a crash on [StubViewTree:177](https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/mounting/stubs/StubViewTree.cpp#L177):  trying to remove view that does not exist.

Reviewed By: lenaic

Differential Revision: D73493001
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Apr 23, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in d40b4c6.

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.

2 participants