Skip to content

Conversation

@rubennorte
Copy link
Contributor

Summary:
Changelog: [internal]

ShadowNodeFragment is used in multiple places as a general definition for the fragment, but it lacks information that's going to be constructed in the fragment itself in the future (like eventEmitter in D46149084).

This migrates some of the usages of this fragment to a new class that works as an interface to access information from shadow node family.

Reviewed By: sammy-SC

Differential Revision: D46190382

@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 fb-exported labels Jun 8, 2023
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented Jun 8, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,744,295 -308
android hermes armeabi-v7a 8,056,634 -146
android hermes x86 9,235,142 -539
android hermes x86_64 9,085,756 -779
android jsc arm64-v8a 9,307,078 -299
android jsc armeabi-v7a 8,496,742 -151
android jsc x86 9,368,789 -548
android jsc x86_64 9,623,515 -771

Base commit: 108309e
Branch: main

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jun 8, 2023
… new instances of ShadowNodeFamily (facebook#37772)

Summary:
Pull Request resolved: facebook#37772

Changelog: [internal]

`ShadowNodeFragment` is used in multiple places as a general definition for the fragment, but it lacks information that's going to be constructed in the fragment itself in the future (like `eventEmitter` in D46149084).

This migrates some of the usages of this fragment to the `ShadowNodeFamily` directly (as they already have access to it).

Reviewed By: javache, sammy-SC

Differential Revision: D46190382

fbshipit-source-id: 4ee1499f24df62674973435245c59a559357610e
@facebook-github-bot
Copy link
Contributor

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

rubennorte and others added 2 commits June 8, 2023 10:17
…w node wrappers

Differential Revision: D46190383

fbshipit-source-id: 3d56622ffd79656cc3d5c3257c076ab3743bb726
… new instances of ShadowNodeFamily (facebook#37772)

Summary:
Pull Request resolved: facebook#37772

Changelog: [internal]

`ShadowNodeFragment` is used in multiple places as a general definition for the fragment, but it lacks information that's going to be constructed in the fragment itself in the future (like `eventEmitter` in D46149084).

This migrates some of the usages of this fragment to the `ShadowNodeFamily` directly (as they already have access to it).

Reviewed By: javache, sammy-SC

Differential Revision: D46190382

fbshipit-source-id: 01804abb88c0566975630f85ec50db2d10b89e4a
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 8, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a88c0ed.

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