Skip to content

Conversation

@chiaramooney
Copy link
Contributor

@chiaramooney chiaramooney commented Jun 9, 2023

Description

Type of Change

  • Code Edits

Why

Adding some of the coding feedback that arose during #11407 into the Playground Composition source for consistency.

Resolves #11413

Microsoft Reviewers: Open in CodeFlow

@chiaramooney chiaramooney requested a review from a team as a code owner June 9, 2023 20:58
@microsoft-github-policy-service microsoft-github-policy-service bot added the Area: Fabric Support Facebook Fabric label Jun 9, 2023
public: // IReactPackageProvider
void CreatePackage(winrt::Microsoft::ReactNative::IReactPackageBuilder const &packageBuilder) noexcept {
packageBuilder.AddTurboModule(L"DeviceInfo", winrt::Microsoft::ReactNative::MakeModuleProvider<DeviceInfo>());
AddAttributedModules(packageBuilder, true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need both of these lines at this point. Shouldn't AddAttributedModules add DeviceInfo?

@jonthysell jonthysell merged commit 0495189 into microsoft:main Jun 12, 2023
@jonthysell jonthysell added the New Architecture Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric label Mar 7, 2024
@chiaramooney chiaramooney deleted the cm-update-playground branch June 20, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Fabric Support Facebook Fabric New Architecture Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Adjust Playground-Composition Source to Match E2E Test App for Fabric

5 participants