-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Implemented ReactHost for Microsoft.ReactNative #4009
Conversation
@@ -16,15 +16,14 @@ namespace winrt::SampleAppCpp::implementation { | |||
/// WinMain(). | |||
/// </summary> | |||
App::App() noexcept { | |||
MainComponentName(L"SampleApp"); | |||
JavaScriptMainModuleName(L"index.windows"); | |||
InstanceSettings().MainComponentName(L"SampleApp"); |
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 does this need to change? I think if you're using the easy-mode "ReactApplicaton", we should maintain these properties as pass-throughs to the properties on the host.
Doin this should also fix the CI build errors you're seeing.
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.
The idea was to simplify theReactApplication API. I have restored these properties for now.
In reply to: 374356328 [](ancestors = 374356328)
Hello @vmoroz! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
This PR is replaced with #4022 because its diff shows files that were previously changed by different PRs and picked up after merge with master. |
This PR is replaced with #4022 because its diff shows files that were previously changed by different PRs and picked up after merge with master.
This is an initial set of changes to implement ReactHost for Microsoft.ReactNative.
More details are here: react-native-community/discussions-and-proposals#183
The code is based on what we currently have in Microsoft Office and we still need to do some clean up.
Why the change?
What works so far?
Future work?
Microsoft Reviewers: Open in CodeFlow