#include "pch.h" #include "MainPage.h" #if __has_include("MainPage.g.cpp") #include "MainPage.g.cpp" #endif #include "App.h" using namespace winrt; using namespace Windows::UI::Xaml; namespace winrt::videoplayer::implementation { MainPage::MainPage() { InitializeComponent(); auto app = Application::Current().as(); ReactRootView().ReactNativeHost(app->Host()); } }