Skip to content

Replace existing usages of shadowNodeFromValue with new bridging function#51676

Closed
rubennorte wants to merge 2 commits into
facebook:mainfrom
rubennorte:export-D75597543
Closed

Replace existing usages of shadowNodeFromValue with new bridging function#51676
rubennorte wants to merge 2 commits into
facebook:mainfrom
rubennorte:export-D75597543

Conversation

@rubennorte
Copy link
Copy Markdown
Contributor

Summary:
Changelog: [internal]

This replaces all existing usages of shadowNodeFromValue (previously defined in primitives.h) to use the new bridging method to automatically convert ShadowNode::Shared from and to JS.

It also deletes the old method.

Differential Revision: D75597543

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

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@rubennorte rubennorte force-pushed the export-D75597543 branch 2 times, most recently from 81749cb to ce58ca3 Compare May 29, 2025 13:36
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

…tion (facebook#51676)

Summary:
Pull Request resolved: facebook#51676

Changelog: [internal]

This replaces all existing usages of `shadowNodeFromValue` (previously defined in `primitives.h`) to use the new bridging method to automatically convert `ShadowNode::Shared` from and to JS.

It also deletes the old method.

Reviewed By: javache

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

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

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

This pull request has been merged in 25f8b86.

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