-
Notifications
You must be signed in to change notification settings - Fork 1.2k
sample xaml module integrated with sample-app-fabric #15368
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
base: main
Are you sure you want to change the base?
sample xaml module integrated with sample-app-fabric #15368
Conversation
| EXPORTS | ||
| DllCanUnloadNow = WINRT_CanUnloadNow PRIVATE | ||
| DllGetActivationFactory = WINRT_GetActivationFactory PRIVATE | ||
| RegisterXamlHostComponentView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we adding RegisterXamlHostComponentView as a part of DLL exports. Xaml hosting is part of same DLL right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can get rid of this. Let me check how to that is on me. But this should not block you.
| import * as React from 'react'; | ||
| import RawCalendarView from './CalendarViewNativeComponent'; | ||
|
|
||
| import XamlHost from 'react-native-windows/Libraries/Components/Xaml/XamlHost'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we not exporting XamlHost tag from react-native-windows? Like import XamlHost from "react-native-windows"
instead of 'react-native-windows/Libraries/Components/Xaml/XamlHost'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a task that needs to be fixed: #15317
| @@ -0,0 +1,2 @@ | |||
| import { CalendarView, RawCalendarView} from './CalendarView'; | |||
| export { CalendarView, RawCalendarView }; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These seem duplicate we are already exporting { CalendarView, RawCalendarView } from CalendarView.tsx
Description
Type of Change
Erase all that don't apply.
Why
What is the motivation for this change? Add a few sentences describing the context and overall goals of the pull request's commits.
Resolves [Add Relevant Issue Here]
What
What changes were made to the codebase to solve the bug, add the functionality, etc. that you specified above.
Screenshots
Add any relevant screen captures here from before or after your changes.
Testing
If you added tests that prove your changes are effective or that your feature works, add a few sentences here detailing the added test scenarios.
Optional: Describe the tests that you ran locally to verify your changes.
Changelog
Should this change be included in the release notes: indicate yes or no
Add a brief summary of the change to use in the release notes for the next release.
Microsoft Reviewers: Open in CodeFlow