Skip to content

Add reset tests for View prop transformations#55893

Closed
sammy-SC wants to merge 2 commits intofacebook:mainfrom
sammy-SC:export-D95061571
Closed

Add reset tests for View prop transformations#55893
sammy-SC wants to merge 2 commits intofacebook:mainfrom
sammy-SC:export-D95061571

Conversation

@sammy-SC
Copy link
Copy Markdown
Contributor

@sammy-SC sammy-SC commented Mar 3, 2026

Summary:
add tests to validate that aria-* props are set back to default correctly when set to undefined

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D95061571

sammy-SC added 2 commits March 3, 2026 09:53
…5891)

Summary:

`RenderOutput::renderView` merged old cached props with new debug props
via `mergeDynamicProps`. Since `getDebugProps()` omits default-valued
props, removed props were never cleared from the cache. Also,
`renderedViews_.insert()` never overwrote existing entries.


Changelog: [Internal]

Reviewed By: javache, zeyap

Differential Revision: D95055704
Summary:
add tests to validate that aria-* props are set back to default correctly when set to undefined

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D95061571
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Mar 3, 2026

@sammy-SC has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95061571.

@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 Mar 3, 2026
@meta-codesync meta-codesync bot closed this in a3a8991 Mar 4, 2026
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 4, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Mar 4, 2026

This pull request has been merged in a3a8991.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @sammy-SC in a3a8991

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

zoontek pushed a commit to zoontek/react-native that referenced this pull request Mar 9, 2026
Summary:
Pull Request resolved: facebook#55893

add tests to validate that aria-* props are set back to default correctly when set to undefined

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D95061571

fbshipit-source-id: c035132638fe7223ef544fb422c1a12f57c5fdb6
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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants