Skip to content

Convert folly::dynamic event dispatch to r-value #50133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

rozele
Copy link
Contributor

@rozele rozele commented Mar 19, 2025

Summary:
Allow move semantics for folly::dynamic event dispatching to avoid copying the folly::dynamic when dispatched.

Changelog

[Breaking][Changed] - Dispatch folly::dynamic events with r-value instead of l-value

Differential Revision: D71423497

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Mar 19, 2025
@facebook-github-bot
Copy link
Contributor

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

rozele added a commit to rozele/react-native-macos that referenced this pull request Mar 19, 2025
Summary:

Allow move semantics for folly::dynamic event dispatching to avoid copying the folly::dynamic when dispatched.

## Changelog

[Breaking][Changed] - Dispatch folly::dynamic events with r-value instead of l-value

Differential Revision: D71423497
@rozele rozele force-pushed the export-D71423497 branch from 45ff33f to 3b7166f Compare March 19, 2025 14:24
@facebook-github-bot
Copy link
Contributor

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

Summary:

Allow move semantics for folly::dynamic event dispatching to avoid copying the folly::dynamic when dispatched.

## Changelog

[Breaking][Changed] - Dispatch folly::dynamic events with r-value instead of l-value

Differential Revision: D71423497
@rozele rozele force-pushed the export-D71423497 branch from 3b7166f to ff0885c Compare March 19, 2025 14:27
@facebook-github-bot
Copy link
Contributor

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

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

This pull request has been merged in 12e5df8.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @rozele in 12e5df8

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

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.

3 participants