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

[Fabric] Native component codegen #13640

Merged
merged 18 commits into from
Sep 5, 2024
Merged

Conversation

acoates-ms
Copy link
Contributor

@acoates-ms acoates-ms commented Aug 31, 2024

Description

Adds codegen for custom native components.
Implements a new custom native component as a sample.
Moved the DrawingIsland custom native component to the new sample package

Microsoft Reviewers: Open in CodeFlow

@acoates-ms acoates-ms requested review from a team as code owners August 31, 2024 14:00
@acoates-ms acoates-ms changed the title [Fabric] Prep for native component codegen [Fabric] Native component codegen Sep 4, 2024
case 'ImageRequestPrimitive':
case 'ImageSourcePrimitive':
case 'PointPrimitive':
arrayTemplateArg = 'winrt::Microsoft::ReactNative::JSValue'; // TODO - better handling for these types than JSValue
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need tracking issues for these TODOs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Filed: #13658

@acoates-ms acoates-ms merged commit ecdff31 into microsoft:main Sep 5, 2024
59 checks passed
@acoates-ms acoates-ms deleted the codegenview branch September 5, 2024 21:45
acoates-ms added a commit to acoates-ms/react-native-windows that referenced this pull request Sep 5, 2024
* Prep for native component codegen

* format

* Change files

* Add codegen

* handle more types in codegen

* Minor cleanup

* Change files

* Add additional custom handler registration

* Move DrawingIsland implementation into shared package

* format

* Fix component view macros to use member name arg

* update package versions

* generate a base class - implement commands

* snapshots

* Move moving light example into rntester

* Remove extra 2 on register method

* snapshots
acoates-ms added a commit to acoates-ms/react-native-windows that referenced this pull request Sep 5, 2024
* Prep for native component codegen

* format

* Change files

* Add codegen

* handle more types in codegen

* Minor cleanup

* Change files

* Add additional custom handler registration

* Move DrawingIsland implementation into shared package

* format

* Fix component view macros to use member name arg

* update package versions

* generate a base class - implement commands

* snapshots

* Move moving light example into rntester

* Remove extra 2 on register method

* snapshots
acoates-ms added a commit that referenced this pull request Sep 6, 2024
* [Fabric] Add Support for the IToggleProvider (#13622)

* Add Support for Toggle Provider

* Refactor Dump Alg

* Change files

* Format

* Fix Merge Error

* Fix Merge Error

* [Fabric] Native component codegen (#13640)

* Prep for native component codegen

* format

* Change files

* Add codegen

* handle more types in codegen

* Minor cleanup

* Change files

* Add additional custom handler registration

* Move DrawingIsland implementation into shared package

* format

* Fix component view macros to use member name arg

* update package versions

* generate a base class - implement commands

* snapshots

* Move moving light example into rntester

* Remove extra 2 on register method

* snapshots
acoates-ms added a commit that referenced this pull request Sep 6, 2024
* [Fabric] Add Support for the IToggleProvider (#13622)

* Add Support for Toggle Provider

* Refactor Dump Alg

* Change files

* Format

* Fix Merge Error

* Fix Merge Error

* [Fabric] Native component codegen (#13640)

* Prep for native component codegen

* format

* Change files

* Add codegen

* handle more types in codegen

* Minor cleanup

* Change files

* Add additional custom handler registration

* Move DrawingIsland implementation into shared package

* format

* Fix component view macros to use member name arg

* update package versions

* generate a base class - implement commands

* snapshots

* Move moving light example into rntester

* Remove extra 2 on register method

* snapshots

* lint:fix

---------

Co-authored-by: Chiara Mooney <34109996+chiaramooney@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants