Skip to content
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

Refactor integration of BridgelessReactPackage into ReactHost #38010

Closed
wants to merge 2 commits into from

Conversation

mdvacca
Copy link
Contributor

@mdvacca mdvacca commented Jun 21, 2023

Summary:
This diff refactors the integration of ReactPackages into ReactHost and ReactHostDelegate.

As part of this diff I'm also modifying ReactHostDelegate to depend on TurboModuleManagerDelegate.Builder instead of TurboModuleManagerDelegateBuilder. This is necessary to be able to create BridgelessReactPackage inside ReactInstance

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: luluwu2032

Differential Revision: D46410795

@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 21, 2023
@facebook-github-bot
Copy link
Contributor

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

mdvacca added a commit to mdvacca/react-native that referenced this pull request Jun 21, 2023
…ok#38010)

Summary:
Pull Request resolved: facebook#38010

This diff refactors the integration of ReactPackages into ReactHost and ReactHostDelegate.

As part of this diff I'm also modifying ReactHostDelegate to depend on TurboModuleManagerDelegate.Builder instead of TurboModuleManagerDelegateBuilder. This is necessary to be able to create BridgelessReactPackage inside ReactInstance

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: luluwu2032

Differential Revision: D46410795

fbshipit-source-id: b8ad5bb042fcb296c2720bfb031086cecc685997
@mdvacca mdvacca force-pushed the export-D46410795 branch from b563820 to b21d43a Compare June 21, 2023 23:20
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented Jun 21, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,963,519 +1
android hermes armeabi-v7a 8,224,705 -1
android hermes x86 9,477,181 -2
android hermes x86_64 9,319,651 -1
android jsc arm64-v8a 9,524,456 +0
android jsc armeabi-v7a 8,662,981 +3
android jsc x86 9,609,000 -2
android jsc x86_64 9,855,574 +1

Base commit: 7920ae8
Branch: main

@facebook-github-bot
Copy link
Contributor

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

mdvacca added a commit to mdvacca/react-native that referenced this pull request Jun 22, 2023
…ok#38010)

Summary:
Pull Request resolved: facebook#38010

This diff refactors the integration of ReactPackages into ReactHost and ReactHostDelegate.

As part of this diff I'm also modifying ReactHostDelegate to depend on TurboModuleManagerDelegate.Builder instead of TurboModuleManagerDelegateBuilder. This is necessary to be able to create BridgelessReactPackage inside ReactInstance

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: luluwu2032

Differential Revision: D46410795

fbshipit-source-id: 6f7025da7b4e406bbe87ed7a71d2a7f02f168140
@mdvacca mdvacca force-pushed the export-D46410795 branch from b21d43a to fa55c43 Compare June 22, 2023 00:15
@facebook-github-bot
Copy link
Contributor

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

mdvacca added a commit to mdvacca/react-native that referenced this pull request Jun 22, 2023
…ok#38010)

Summary:
Pull Request resolved: facebook#38010

This diff refactors the integration of ReactPackages into ReactHost and ReactHostDelegate.

As part of this diff I'm also modifying ReactHostDelegate to depend on TurboModuleManagerDelegate.Builder instead of TurboModuleManagerDelegateBuilder. This is necessary to be able to create BridgelessReactPackage inside ReactInstance

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: luluwu2032

Differential Revision: D46410795

fbshipit-source-id: a94a62c50c67e091942f99705a828e79d2cb326c
@mdvacca mdvacca force-pushed the export-D46410795 branch from fa55c43 to 7c3d97f Compare June 22, 2023 00:24
@facebook-github-bot
Copy link
Contributor

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

mdvacca added a commit to mdvacca/react-native that referenced this pull request Jun 22, 2023
…ok#38010)

Summary:
Pull Request resolved: facebook#38010

This diff refactors the integration of ReactPackages into ReactHost and ReactHostDelegate.

As part of this diff I'm also modifying ReactHostDelegate to depend on TurboModuleManagerDelegate.Builder instead of TurboModuleManagerDelegateBuilder. This is necessary to be able to create BridgelessReactPackage inside ReactInstance

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: luluwu2032

Differential Revision: D46410795

fbshipit-source-id: 7a4e32110d1eae6e6098c9dc1ebcc2afcd556a39
@mdvacca mdvacca force-pushed the export-D46410795 branch from 7c3d97f to b451254 Compare June 22, 2023 00:32
mdvacca and others added 2 commits June 21, 2023 18:03
Summary:
Move BridgelessReactPackage to com.facebook.react package.
This is necessary because BridgelessReactPackage is a core package that needs to be part of RN (and should not be re-defined by all apps)
I will revisit naming in a later diff

changelog: [internal] internal

Differential Revision: D46918732

fbshipit-source-id: 96adabdec3017f54fc55091b2e622a3b71255790
…ok#38010)

Summary:
Pull Request resolved: facebook#38010

This diff refactors the integration of ReactPackages into ReactHost and ReactHostDelegate.

As part of this diff I'm also modifying ReactHostDelegate to depend on TurboModuleManagerDelegate.Builder instead of TurboModuleManagerDelegateBuilder. This is necessary to be able to create BridgelessReactPackage inside ReactInstance

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: luluwu2032

Differential Revision: D46410795

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 74e6c95.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 22, 2023
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