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

Introducing LazyTurboModuleManagerDelegate #39462

Closed
wants to merge 3 commits into from

Conversation

mdvacca
Copy link
Contributor

@mdvacca mdvacca commented Sep 15, 2023

Summary:
In this diff I'm introdcuing the new UnstableAPI called LazyTurboModuleManagerDelegate.
The goal of this class is to provide a Lazy registration of TurboModules without relying on ReactModule annotations neither the TurboReactPackage#getReactModuleInfoProvider method.

This is not the final implementation, it's just a prototype that will be used to experiment and learn about perf implications.

This class will be used in the next diffs of the stack

changelog: [intenral] internal

Reviewed By: cortinico

Differential Revision: D49172555

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

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

@facebook-github-bot
Copy link
Contributor

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

mdvacca added a commit to mdvacca/react-native that referenced this pull request Sep 15, 2023
Summary:
Pull Request resolved: facebook#39462

In this diff I'm introdcuing the new UnstableAPI called LazyTurboModuleManagerDelegate.
The goal of this class is to provide a Lazy registration of TurboModules without relying on ReactModule annotations neither the TurboReactPackage#getReactModuleInfoProvider method.

This is not the final implementation, it's just a prototype that will be used to experiment and learn about perf implications.

This class will be used in the next diffs of the stack

changelog: [intenral] internal

Reviewed By: cortinico

Differential Revision: D49172555

fbshipit-source-id: d5fa68fd0d8ae96c7f149c5303f9b0f3388da986
@analysis-bot
Copy link

analysis-bot commented Sep 15, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,329,252 +7
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 9,568,011 +1
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 598b7ed
Branch: main

@github-actions
Copy link

github-actions bot commented Sep 15, 2023

Warnings
⚠️ One hour and a half have passed and the E2E jobs haven't finished yet.

Generated by 🚫 dangerJS against 77eb1be

Summary:
Fix lint warning

changelog: [intenral] internal

Differential Revision: D49172556

fbshipit-source-id: 656e067ed908cb78628b4239c2a9dca132fffd51
Summary:
In this diff I'm creating an empty constructor on ReactPackageTurboModuleManagerDelegate. This will be used in the next diffs of the stack.
I'm also resorting methods for better read of the class

changelog: [intenral] internal

Differential Revision: D49172554

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

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

Summary:
Pull Request resolved: facebook#39462

In this diff I'm introdcuing the new UnstableAPI called LazyTurboModuleManagerDelegate.
The goal of this class is to provide a Lazy registration of TurboModules without relying on ReactModule annotations neither the TurboReactPackage#getReactModuleInfoProvider method.

This is not the final implementation, it's just a prototype that will be used to experiment and learn about perf implications.

This class will be used in the next diffs of the stack

changelog: [intenral] internal

Reviewed By: cortinico

Differential Revision: D49172555

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

This pull request has been merged in e513a50.

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