Skip to content

Conversation

@bartlomiejbloniarz
Copy link
Contributor

Summary:
The original intention by the cloneMultiple method was to give the possibility of defining the cloning method only for the nodes definied by the list of families. But this way it is impossible to for example set the value of runtimeShadowNodeReference in the fragment, so instead we now pass the responsibility of cloning to the user for all the cloned nodes.

Changelog

[General] [Changed] - cloneMultiple now invokes the callback for every cloned node, instead of doing that only for the nodes in familiesToUpdate

Differential Revision: D85852143

Summary:
The original intention by the cloneMultiple method was to give the possibility of defining the cloning method only for the nodes definied by the list of families. But this way it is impossible to for example set the value of `runtimeShadowNodeReference` in the fragment, so instead we now pass the responsibility of cloning to the user for all the cloned nodes.

# Changelog

[General] [Changed] - cloneMultiple now invokes the callback for every cloned node, instead of doing that only for the nodes in `familiesToUpdate`

Differential Revision: D85852143
@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 Nov 6, 2025
@facebook-github-bot facebook-github-bot added p: Software Mansion Partner: Software Mansion Partner labels Nov 6, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 6, 2025

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants