Skip to content

Add back backwards compat for rawProps.at(x,y,z)#57346

Open
javache wants to merge 1 commit into
react:mainfrom
javache:export-D109837388
Open

Add back backwards compat for rawProps.at(x,y,z)#57346
javache wants to merge 1 commit into
react:mainfrom
javache:export-D109837388

Conversation

@javache

@javache javache commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary:
Restores a deprecated three-argument overload of RawProps::at() for backwards compatibility with existing callers (like Nitro modules) that pass prefix/suffix separately.

The new overload concatenates prefix + name + suffix when needed and delegates to the parser's at(string_view) method. When both prefix and suffix are null, it forwards directly to the single-argument version.

Changelog: [Internal]

Differential Revision: D109837388

Summary:
Restores a deprecated three-argument overload of `RawProps::at()` for backwards compatibility with existing callers (like Nitro modules) that pass prefix/suffix separately.

The new overload concatenates `prefix + name + suffix` when needed and delegates to the parser's `at(string_view)` method. When both prefix and suffix are null, it forwards directly to the single-argument version.

Changelog: [Internal]

Differential Revision: D109837388
@meta-codesync

meta-codesync Bot commented Jun 26, 2026

Copy link
Copy Markdown

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

@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 Jun 26, 2026

@cortinico cortinico 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.

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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants